Dispatch: (msg: Msg) => void

Function shape returned by useDispatch.

Type Parameters

  • Msg

    The application's message union.

Type declaration

    • (msg: Msg): void
    • Parameters

      Returns void