wasm_cleanup_steward_sup (wasm v0.16.0)

View Source

Internal: the dynamic supervisor for per-request cleanup stewards.

One steward exists per in-flight request. The cleanup manager starts them here and monitors each one; they are temporary, because a steward that exits has either finished its request or been replaced, and neither is something to restart under it. See test/audit/CLEANUP_STEWARD.md.

Summary

Functions

Start a steward for a request. Its argument is the steward's own.

Functions

init/1

start_link()

-spec start_link() -> supervisor:startlink_ret().

start_steward(Arg)

-spec start_steward(term()) -> supervisor:startchild_ret().

Start a steward for a request. Its argument is the steward's own.