onInitialized

fun onInitialized(block: () -> Unit)(source)

Registers a callback to be invoked when the server has completed initialization.

The callback must be synchronous and fast: it runs on the message-dispatch path for notifications/initialized, after concurrent dispatch has been enabled for the session.