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

    Function dispatchTo

    • The dispatch of a parent's child, for its view: dispatchTo(dispatch, 'Clock'), or dispatchTo(dispatch, 'Row', id) for children by id. It wraps each message as the parent receives it, and is the same function every time it is asked for with the same parent dispatch, so that a view drawn with it can be memoized.

      Type Parameters

      • Message
      • Name extends string

      Parameters

      Returns ChildDispatch<Message, Name>