1 unstable release
0.3.0 | Sep 29, 2024 |
---|
#557 in Asynchronous
Used in 2 crates
(via boomerang)
270KB
6.5K
SLoC
Boomerang Builder
The Reactor assembly API for Boomerang. Builder is the API driven by the code that boomerang_derive
generates.
The most important data structure for Builder is the EnvBuilder
, which also serves as the API entry-point. Once all
of the Reactors and Reactions have added their graph state into the EnvBuilder
, EnvBuilder::into_runtime_parts
is called to generate the data for the Runtime.
Most users will not need to interact with Builder, but for some specialized cases it is useful to manually implement the
reactor::Reactor
and reaction::Reaction
traits manually. It may also ocasionally useful to manually adjust the
EnvBuilder
graph after all the Reactors have been built.
Dependencies
~4–14MB
~170K SLoC