class Async::Node
def terminate
Immediately terminate all children tasks, including transient tasks.
def terminate # Attempt to stop the current task immediately, and all children: stop(false) # If that doesn't work, take more serious action: @children&.each do |child| child.terminate end end