Skip to content

Commit 52914ba

Browse files
committed
add set_debug method
1 parent c41d075 commit 52914ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cadence/workflow/deterministic_event_loop.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def _call_soon(self, callback, args, context) -> Handle:
3737
def get_debug(self):
3838
return self._debug
3939

40+
def set_debug(self, enabled: bool):
41+
self._debug = enabled
4042

4143
def run_forever(self):
4244
"""Run until stop() is called."""

0 commit comments

Comments
 (0)