From 94f098e5f7ebfe435bab96aac775c15929fbcdba Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 10 Dec 2021 13:07:59 -0500 Subject: [PATCH] Add nooz --- newsfragments/271.feature.rst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 newsfragments/271.feature.rst diff --git a/newsfragments/271.feature.rst b/newsfragments/271.feature.rst new file mode 100644 index 0000000..fcf58a4 --- /dev/null +++ b/newsfragments/271.feature.rst @@ -0,0 +1,9 @@ +Add a per actor ``debug_mode: bool`` control to our nursery. + +This allows spawning actors via ``ActorNursery.start_actor()`` (and +other dependent methods) with a ``debug_mode=True`` flag much like +``tractor.open_nursery():`` such that per process crash handling +can be toggled for cases where a user does not need/want all child actors +to drop into the debugger on error. This is often useful when you have +actor-tasks which are expected to error often (and be re-run) but want +to specifically interact with some (problematic) child.