Initiates graceful shutdown. Sends `Shutdown` command and waits for `ShutdownComplete` event. Then awaits the background task handle. # Errors Returns `SyncError` if timeout (10s) expires before `ShutdownComplete` event.
(mut self)
source not stored for this graph (policy: none)
no test coverage detected