1 unstable release

0.3.0 Sep 29, 2024

#296 in Asynchronous

Download history 174/week @ 2024-09-27 20/week @ 2024-10-04 7/week @ 2024-10-11

201 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
~171K SLoC