PublishMethod: (event: NostrEvent) => void | Promise<void>

A callback used to tell the upstream app to publish an event

Type declaration

    • (event: NostrEvent): void | Promise<void>
    • Parameters

      • event: NostrEvent

      Returns void | Promise<void>