PublishMethod: ((label: string, event: NostrEvent, explicitRelays?: string[]) => Promise<void>)
Type declaration
- (label, event, explicitRelays?): Promise<void>
Parameters
- label: string
- event: NostrEvent
Optional
explicitRelays: string[]
Returns Promise<void>
A callback used to tell the upstream app to publish an event