Module mecca.reactor

Define the micro-threading reactor

Functions

NameDescription
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

NameDescription
FiberHandle A handle to a running fiber.
Reactor The main scheduler for the micro-threading architecture.

Enums

NameDescription
FiberState Track the fiber's state

Aliases

NameTypeDescription
TimerHandle Reactor.TimerHandle Handle for manipulating registered timers.