SignalconnectSignalconnect_SignalemitWill 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).
Queues future into the channel.
The other end of the channel can receive the future (or a future that will
eventually resolve to future) using dex_channel_receive().
This function returns a Dex.Future that will resolve when the channels capacity is low enough to queue more items.
If the send side of the channel is closed, the returned Dex.Future will be rejected with Dex.Error.CHANNEL_CLOSED.
StaticnewReleases 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.
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).