@fgaudo/effect-tea - v0.7.2
    Preparing search index...

    Type Alias Dispatch<Message>

    Dispatch: (message: Message) => Effect.Effect<void>

    Sends a message to the running program: update decides what it means in the state it finds. Running it needs no services and completes synchronously, whatever runs it: it only hands the message to the run, which handles it in its own fiber, with the services and the scheduler it started with. A renderer whose handlers are plain callbacks runs it at once with Effect.runSync, or with a runtime of its own.

    Type Parameters

    • Message

    Type Declaration

      • (message: Message): Effect.Effect<void>
      • Parameters

        Returns Effect.Effect<void>