Prelude API
    Preparing search index...

    Function of

    • Creates an actor.

      Type Parameters

      • M
      • S = undefined
      • R = void

      Parameters

      • init: () => S

        Creates the initial state; also called on restart.

      • receive: Receive<M, S, R>

        Message handler; its return value is the reply for ask.

      • options: Omit<Options<M, S, R>, "init" | "receive"> = {}

        Remaining Options.

      Returns Actor<M, S, R>