Skip to main content

nostr_client

Function nostr_client 

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

Get a clone of the active Nostr client. The clone is cheap — Client is internally Arc-counted, so all clones share connections, signers, and subscription state. Returns None when no session is active.