Skip to main content

Module teardown_hooks

Module teardown_hooks 

Source
Expand description

What the controller code asks of the agent teardown.

The watchdog, the controller replace and the tab close below sagas/ each end an agent’s processes through the one teardown path (sagas/agent_teardown.rs, which a structural test pins as the only place that stops them). This module is the seam: backend/ names the TeardownHooks it needs, and the sagas register them once at startup (install), so backend/ stops naming sagas (Area54 #1350).

Traits§

TeardownHooks
The teardown’s entries for callers that have no AppState.

Functions§

install
Register the teardown’s entries. Later calls change nothing.