Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "takeLatest"

Index

Functions

Functions

takeLatest

  • A typescript decorator make all concurrent calls on target intance method return the value of the most latest call, all results of previous calls are abandoned.

    Parameters

    • Default value acAction: AbandonedCallAction = AbandonedCallAction.None

      For those abandoned calls, how to handle their returned promise, see AbandonedCallAction

    • Optional acActionParam: any

      only required when acAction is AlwaysResolve or AlwaysReject, its the fulfilled result for corresponding promise

    Returns (Anonymous function)

Generated using TypeDoc