Options
All
  • Public
  • Public/Protected
  • All
Menu

Factory that creates AsyncAction payload envelopes, preconfigured for a specific AsyncOperation, AsyncLifecycle instance, and AsyncPhase.

Type parameters

  • Payload: any[]

Hierarchy

  • AsyncActionCreator

Callable

Index

Properties

Properties

match

match: function

Function that returns true iff the given action matches all properties of this action creator's {@link AsyncActionMeta}. In practice, this can be used to detect actions dispatched for this specific operation and lifecycle event.

Type declaration

    • (action: Action): boolean
    • Parameters

      • action: Action

      Returns boolean

meta

Metadata for the owning AsyncLifecycle.

type

type: string

Full type constant for actions created by this function, e.g. stately-asnc/myFunction/call.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc