Skip to main content

take_nostr_client

Function take_nostr_client 

Source
pub fn take_nostr_client() -> Option<Client>
Expand description

Atomically take the current Nostr client out of global state. Used by reset_session() so the post-take shutdown call doesn’t race with new readers.