1 unstable release

0.3.0 Sep 29, 2024

#534 in Asynchronous

28 downloads per month
Used in 2 crates (via boomerang)

MIT/Apache

270KB
6.5K SLoC

Boomerang Builder

crates.io MIT/Apache 2.0 Downloads CI docs codecov

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–13MB
~167K SLoC