Register node with this stop state, or invoke it if a stop was already requested.
If a stop has already been requested, then invoke the callback of the specified node and return false. Otherwise, add node to the list of nodes registered to this state and return true. The behavior is undefined if this method is called more than once for a given node.
true if node was registered, and false if a stop was already requested and the callback was invoked instead
| Name | Description |
|---|---|
| node | callback node to register or invoke |