Gck.Slot.prototype.open_session_async
function open_session_async(options: Gck.SessionOptions, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for gck_slot_open_session_async() }
Open a session on the slot. If the 'auto reuse' setting is set, then this may be a recycled session with the same flags.
This call will return immediately and complete asynchronously.
- options
The options to open the new session with.
- cancellable
Optional cancellation object, or NULL.
- callback
Called when the operation completes.