Skip to content

Commit

Permalink
fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ProKil committed Dec 13, 2024
1 parent 08b620c commit 56cd2a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/aact/nodes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ async def __aexit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None
### Shutdown nodes
The default method for stopping nodes is through shutting down the subprocesses or RQ jobs. When you want to bring
down the dataflow, you can `Ctrl + c` to turn off the nodes gracefully.
down the dataflow, you can `Ctrl + c` to turn off the nodes gracefully.
To shutdown a node itself, you can return from its event loop programatically when a certain condition is reached.
To shutdown a node itself, you can return from its event loop programatically when a certain condition is reached.
#### Experimental feature: Peer-stopping
An experimental feature is peer-stopping. A node can not only stop itself but also other nodes. To do this, send
a message to the channel `f"shutdown:{self.node_name}"` and the node manager will shutdown all of the nodes in the
current dataflow.
current dataflow.
"""

input_channel_types: dict[str, Type[InputType]]
Expand Down

0 comments on commit 56cd2a2

Please sign in to comment.