concurrency.syncwait

Undocumented in source.

Members

Enums

Cancelled
enum Cancelled
Undocumented in source.

Functions

isMainThread
bool isMainThread()
Undocumented in source. Be warned that the author may not have intended to support it.
setTopLevelStopSource
void setTopLevelStopSource(StopSource stopSource)
Undocumented in source. Be warned that the author may not have intended to support it.
syncWait
auto syncWait(Sender sender, StopSource stopSource)

Start the Sender and waits until it completes, cancels, or has an error.

syncWait
auto syncWait(Sender sender)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

parentStopSource
StopSource parentStopSource;
Undocumented in source.

Structs

Result
struct Result(T)
Undocumented in source.
SyncWaitReceiver2
struct SyncWaitReceiver2(Value)
Undocumented in source.

Templates

match
template match(Handlers...)

matches over the result of syncWait

Meta