Action: (
    ctx: ActionContext,
) =>
    | Observable<NostrEvent>
    | AsyncGenerator<NostrEvent>
    | Generator<NostrEvent>

An action that can be run in a context to preform an action

Type declaration

    • (
          ctx: ActionContext,
      ):
          | Observable<NostrEvent>
          | AsyncGenerator<NostrEvent>
          | Generator<NostrEvent>
    • Parameters

      Returns Observable<NostrEvent> | AsyncGenerator<NostrEvent> | Generator<NostrEvent>