newClientOrNull

suspend fun newClientOrNull(onError: KCEF.NewClientOrNullError = NewClientOrNullError { }): KCEFClient?(source)

Create a new CefClient after CEF has been initialized.

Waits for initialization if it isn't finished yet.

Return

KCEFClient after initialization or null if any error occurred

Parameters

onError

an optional listener for any error occurred during initialization

See also

to initialize CEF