Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Lock

Provides a mechanism for ensuring that multiple function calls do not overlap, even if they are asynchronous. NOTE: This does not include macrotasks (ie setTimeout/setInterval/etc). If you require that, see ZoneLock.

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

Protected executeCallback

  • executeCallback(cb: any): Promise<any>

run

Static forToken

  • forToken<T>(this: { constructor: any }, token: any): T

Generated using TypeDoc