Gck.Object.prototype.set_async

function set_async(attrs: Gck.Attributes, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_object_set_async()
}
  

Set PKCS\#11 attributes on an object. This call will return immediately and completes asynchronously.

If the attrs Gck.Attributes is floating, it is consumed.

attrs

The attributes to set on the object.

cancellable

Optional cancellable object, or NULL to ignore.

callback

Callback which is called when operation completes.