loadAsync

external fun loadAsync(sessionId: String): Promise<JsBoolean>(source)

The load() method of the MediaKeySession interface returns a Promise that resolves to a boolean value after loading data for a specified session object.

MDN Reference