Gio.Cancellable

const Gio = imports.gi.Gio;

let cancellable = new Gio.Cancellable();
  

GCancellable is a thread-safe operation cancellation stack used throughout GIO to allow for cancellation of synchronous and asynchronous operations.

Hierarchy

  • GObject.Object
    • Gio.Cancellable