Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActionStore

This is a minimal interface for storing the dispatched actions and all subsequent actions that were triggered from it in a call stack.

Think of it as a mock equivalent.

Hierarchy

  • ActionStore

Implemented by

Index

Properties

Methods

Properties

calls

calls: CallList

Returns the entire call stack.

Methods

add

  • Adds an action to it's own internal call stack.

    Parameters

    Returns unknown

    void

index

  • Gets an action at a particular index of the call stack.

    Parameters

    • index: number

      The position of the action which was called.

    Returns TestAction | void

    An action or undefined if not found.

Generated using TypeDoc