Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "synchronized"

Index

Functions

Functions

synchronized

  • synchronized(group?: string): (Anonymous function)
  • A typescript decorator to make concurrent calls on target instance method execute sequentially

    Parameters

    • Default value group: string = ""

      The identifier to group different methods. Methods in the same group are guaranteed to execute sequentially. This can be used to simulate a read write lock

    Returns (Anonymous function)

Generated using TypeDoc