Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZoneLock

Provides a mechanism for ensuring that multiple function calls do not overlap, even if they are asynchronous or they spin off macrotasks (ie setTimeout/setInterval/etc). Zone.js is used to accomplish this. For a lighter lock that does not track macrotasks see Lock.

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

Protected executeCallback

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

run

Static forToken

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

Generated using TypeDoc