Options
All
  • Public
  • Public/Protected
  • All
Menu

@tmorin/cycle-actions

Index

Type aliases

ActionHandlers

ActionHandlers<I, O>: {}

The map of action handlers. To be handled, the Action.type of the Action must match the key of the ActionHandlers object.

Type parameters

  • I

  • O

Type declaration

Functions

makeActionsDriver

  • makeActionsDriver<I, O>(handlers?: ActionHandlers<I, O>): (Anonymous function)
  • Make an ActionsDriver

    Type parameters

    • I

    • O

    Parameters

    • Default value handlers: ActionHandlers<I, O> = {}

      the action handlers

    Returns (Anonymous function)

    the action driver

Generated using TypeDoc