burr
burr copied to clipboard
Pre/Post application interface calls
Is your feature request related to a problem? Please describe.
We should be able to handle iteractions such as step/iterate/run/stream). These would be hooks called before and after user-facing stuff.
Describe the solution you'd like
The following hooks, both sync and async:
pre_run_call(params: Dict[str, Any], fn: Enum["run", "iterate", "step", "stream_results"])post_run_call(params: Dict[str, Any], fn: Enum["run", "iterate", "step", "stream_results"])
Describe alternatives you've considered
Hooks per step