Synchronizer
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
working: boolean |
Method Summary
Public Methods | ||
public |
push(fn: function(): T): Promise<T> Push function to the Synchronizer for later, synchronous execution |
Public Constructors
public constructor() source
Public Members
public get working: boolean source
Public Methods
public push(fn: function(): T): Promise<T> source
Push function to the Synchronizer for later, synchronous execution
Params:
Name | Type | Attribute | Description |
fn | function(): T | Function to be invoked later by this Synchronizer |
Return:
Promise<T> |