Cancellable.from_cancellable


Description:

[ CCode ( has_construct_function = false , type = "DexFuture*" ) ]
public Cancellable.from_cancellable (Cancellable? cancellable = null)

Creates a new [class@Dex.

Cancellable] that will reject when cancellable is cancelled or [method@Dex.Cancellable.cancel] is called.

Parameters:

cancellable

a [class@Gio.Cancellable]