A recurring, successively signaled parametric event with a payload allowing a simple mechanism to coordinate between concurrent tasks.
Verse using statement |
using { /Verse.org/Verse } |
Exposed Interfaces
This class exposes the following interfaces:
| Name | Description |
|---|---|
signalable(payload) |
A parametric interface implemented by events with a |
awaitable(payload) |
A parametric interface implemented by events with a |
Members
This class has functions, but no data members.
Functions
| Function Name | Description |
|---|---|
Await |
Suspends the current task until another task calls |
Signal |
Concurrently resumes the tasks that were suspended by Tasks are resumed in the order they were suspended. Each task will perform as much work as it can until it encounters a blocking call, whereupon it will transfer control to the next suspended task. |