Private
#commandPrivate
#logPrivate
#workerReadonly
eventsReadonly
profileReadonly
profileReadonly
relayReadonly
relayReadonly
relayReadonly
relayStatic
prefixedCheck event signatures (reccomended)
Check event signatures (reccomended)
Main connection pool
Private
#workerSend an event to all permanent connections
Event to broadcast
Optional
cb: ((rsp) => void)Callback to handle OkResponse as they arrive
Create a new permanent connection to a relay
Relay URL
Read/Write settings
Fetch data from nostr relays asynchronously
Request to send to relays
Optional
cb: ((evs) => void)A callback which will fire every 100ms when new data is received
Push an event into the system from external source
Open a new query to relays
Request to send to relays
Connect to a specific relay and send an event and wait for the response
Relay URL
Event to send
Calls each of the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Remove the listeners of a given event.
Generated using TypeDoc
Get a snapshot of the relay connections