Web SDK - RainwayRuntime.dispose()

Home > @rainway/web > RainwayRuntime > dispose

RainwayRuntime.dispose() method

Disconnect, remove listeners and clean up internal state.

After calling this, you will need to call RainwayRuntime.initialize from scratch.

Signature:

dispose(): void;

Returns:

void