void (@NotNull ClientSessionImpl session, @NotNull ComponentManager componentManager, @NotNull Disposable disposable) { ClientSessionsManager<ClientSession> sessionsManager = getClientSessionsManager(componentManager); sessionsManager.registerSession(disposable, session); session.registerServices(); BuildersKt.launch(GlobalScope.INSTANCE, EmptyCoroutineContext.INSTANCE, CoroutineStart.DEFAULT, (scope, continuation) -> { session.preloadServices(scope); return Unit.INSTANCE; }); }