Module mecca.reactor
Define the micro-threading reactor
Functions
Name | Description |
---|---|
isReactorThread()
|
Returns whether the current thread is the thread in which theReactor is running |
testWithReactor(dg, options)
|
Run a test inside a reactor |
theReactor()
|
return a reference to the Reactor singleton |
Structs
Name | Description |
---|---|
FiberHandle
|
A handle to a running fiber. |
Reactor
|
The main scheduler for the micro-threading architecture. |
Enums
Name | Description |
---|---|
FiberState
|
Track the fiber's state |
Aliases
Name | Type | Description |
---|---|---|
TimerHandle
|
Reactor
|
Handle for manipulating registered timers. |