Skip to content

Commit 6681c81

Browse files
committed
Add default impl of AsyncActionNode#on_halted
1 parent 04f435d commit 6681c81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

btpy/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,7 @@ def on_running(self) -> NodeStatus:
6464
# Otherwise, just assume the action finished successfully.
6565
else:
6666
return NodeStatus.SUCCESS
67+
68+
def on_halted(self):
69+
# Default action: do nothing
70+
pass

0 commit comments

Comments
 (0)