Class (GI Class)

Dex-1DexChannel

Hierarchy (View Summary)

Index

Constructors

Properties

$gtype: GType<Dex.Channel>

Methods

  • Receives the next item from the channel.

    The resulting future will resolve or reject when an item is available to the channel or when send side has closed (in that order).

    Returns Dex.Future

    a Dex.Future

  • Will attempt to receive all items in the channel as a DexResultSet.

    If the receive side of the channel is closed, then the future will reject with an error.

    If there are items in the queue, then they will be returned as part of a DexResultSet containing each of the futures.

    Otherwise, a Dex.FutureSet will be returned which will resolve or reject when the next item is available in the channel (or the send or receive sides are closed).

    Returns Dex.Future

    a Dex.Future

Methods - Inherited from Dex.Object

  • Releases a reference on the given object, and decreases its reference count by one.

    If it was the last reference, the resources associated to the instance are freed.

    Returns void

Interfaces

SignalSignatures