Ask a question to get started
Enter to send•Shift+Enter new line
on_shutdown( self, hook: Callable[[], Any], ) -> None
hook
Callable[[], Any]
Sync or async zero-argument callback.
Register a deterministic session teardown callback.