Module mecca.reactor.lib.ondemand_worker
Run a job in a fiber, but never two simultaneously
Classes
Name | Description |
---|---|
WorkerCancelled
|
Exception thrown to abort a cancelled worker |
Structs
Name | Description |
---|---|
OnDemandWorkerDelegate
|
Same as OnDemandWorkerFunc , except with a delegate.
|
OnDemandWorkerFunc
|
Run a job in a fiber, making sure never to run two simultaneously. |
Aliases
Name | Type | Description |
---|---|---|
SpawnFiberDlg
|
nothrow @nogc @safe FiberHandle delegate(void delegate())
|
A fiber spawning delegate must be of this type |