effect-tea-persistent
    Preparing search index...

    Type Alias Update<State, Message, Sender, Reason>

    Update: (
        message: Message,
        meta: Meta<Sender>,
    ) => (state: State) => State | Rejected<Reason>

    The type of update: given a message and its meta, a function from the state to the next state or to a rejection. It is pure, and reads time only from meta.at.

    Type Parameters

    • State
    • Message
    • Sender
    • Reason

    Type Declaration