Commit graph

11 commits

Author SHA1 Message Date
01fddd19b0
improvement!: Remove hooks and replace with middleware behaviour. (#90)
* improvement!: Remove hooks and replace with middleware behaviour.

* improvement(Middleware): Add `get_process_context/0` and `set_process_context/1` middleware hooks.

* improvement: Add step event callback to middleware.
2024-02-26 16:20:54 +13:00
James Harton
f67173b76f
feat: Add collect step entity. (#53)
This change introduces the `collect` step entity to the DSL. It is simply a wrapper around `Reactor.Step.ReturnAllArguments`, but provides the convenience of being able to group together arguments into a single structure for passing into other steps.
2023-09-11 11:58:29 +12:00
James Harton
aa670a4a64
improvement: Add wait_for DSL. (#39) 2023-07-25 10:50:01 +12:00
James Harton
be35183998
improvement(Step.Debug): Add debug step and DSL. (#30) 2023-07-11 12:04:01 +12:00
James Harton
4224aeb23c
improvement(Step.Switch): Add switch DSL and step type. (#29) 2023-07-11 07:20:51 +12:00
James Harton
efc7cb4a91
improvement: Add group DSL entity and Reactor.Step.Group. (#27) 2023-07-04 09:37:53 +12:00
James Harton
749e399c02
feat(Step.Around): Add ability to wrap a function around a group of steps. (#24) 2023-06-23 09:09:42 +12:00
James Harton
8f0248857a
improvement: Allow entire step behaviour to be defined in the DSL. (#18) 2023-06-16 14:39:29 +12:00
1af160c6b3 improvement: Add ability to compose reactors. 2023-06-15 14:57:32 +12:00
James Harton
7ac8cce871
feat: implement basic reactor behaviour. (#1) 2023-05-10 16:27:18 +12:00
Zach Daniel
96fd561714 init 2023-04-18 18:23:04 -04:00