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

    Function raise

    • An event a parent has nothing to say about, raised as its own for its own parent to handle, the state unchanged: onEvent: { Products: raise }, or raise(event)(state) in a handler that decides. It compiles only where the parent's Event includes the child's. A handler of children by id takes the id first: (_, event) => raise(event).

      Type Parameters

      • Event

      Parameters

      Returns <State>(state: State) => Step<State, never, Event>