pub async fn on_stop_request<F, Fut>(
request_stream: LifecycleRequestStream,
cb: F,
)
Expand description
Serves the Lifecycle protocol from the component runtime used for controlled shutdown of the archivist. When Stop is requrested executes the given callback.