Shutdown OpenKit. All open session are closed and send to the Beacon.
Optional
callback: ShutdownCallbackThe callback when the shutdown has finished sending to the Beacon.
Waits for the initialization of OpenKit and calls the callback after it finished, or the timeout runs out.
If not timeout is passed, it runs until the initialization finished.
If OpenKit already initialized, the callback runs synchronously.
The callback is called with {@code true} iff OpenKit initialized successfully and is not Shutdown.
The callback which is executed after initialization, or after the timeout runs out.
Optional
timeout: numberThe timeout for the initialization
Generated using TypeDoc
OpenKit public interface