-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
requestNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Ability to cleanly exit a node or entire build.
Describe the solution you'd like
Lucas:
Something like
returnin the code block to early exit the node's execution.
Something likeexit()orhalt()to gracefully stop the graph from executing.
Currently these can be handled with crazy indentation and raising an exception (respectively).
Michael:
I like something explicitly nxt oriented for stopping the full graph. like
graph_stop(). What are the ramifications for sub graphs? Does this only halt local subgraph or full super graph? Additionally can there(should there?) be ways to skip hierarchystop_siblings()orskip_descendants()?
Metadata
Metadata
Assignees
Labels
requestNew feature or requestNew feature or request