Promises
Promises: { delay: any; tick: any; when: any }
Type declaration
delay:function
- delay<T>(duration: number, value?: T): T
Type parameters
Parameters
duration: number
Optional value: T
Returns T
tick:function
- tick<T>(duration: number, value?: T): T
Type parameters
Parameters
duration: number
Optional value: T
Returns T
when:function
- when<T>(duration: Date, value?: T): T
Type parameters
Parameters
duration: Date
Optional value: T
Returns T