whenSdkIsInitialized

fun whenSdkIsInitialized(block: () -> Unit)

Runs a given code block once the Webcom SDK is properly initialized.

Code blocks invoking Webcom SDK functions fail as long as Webcom SDK initialization is not complete. This initialization is run asynchronously at the application loading.