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
Constructors
Methods
- Gio.Cancellable.prototype.cancel
- Gio.Cancellable.prototype.connect
- Gio.Cancellable.prototype.disconnect
- Gio.Cancellable.prototype.get_fd
- Gio.Cancellable.prototype.is_cancelled
- Gio.Cancellable.prototype.make_pollfd
- Gio.Cancellable.prototype.pop_current
- Gio.Cancellable.prototype.push_current
- Gio.Cancellable.prototype.release_fd
- Gio.Cancellable.prototype.reset
- Gio.Cancellable.prototype.set_error_if_cancelled