MCPcopy Create free account
hub / github.com/OpenKeyring/oak-keyring / shutdown

Method shutdown

src/services/sync.rs:568–591  ·  view source on GitHub ↗

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 from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

sync_returns_reportFunction · 0.45
pause_resume_cycleFunction · 0.45
shutdown_cleanFunction · 0.45

Calls 2

sendMethod · 0.80
wait_for_eventMethod · 0.80

Tested by

no test coverage detected