Gck.Object.prototype.destroy_async

function destroy_async(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_object_destroy_async()
}
  

Destroy a PKCS\#11 object, deleting it from storage or the session. This call will return immediately and complete asynchronously.

cancellable

Optional cancellable object, or NULL to ignore.

callback

Callback which is called when operation completes.