Type alias PromiseWatcher<V, A>
PromiseWatcher<V, A>: {     onFulfilled?: ((value, 
...args) => void);     onRejected?: ((reason, 
...args) => void); } Type Parameters
- V
- A extends any[] = unknown[]
Type declaration
- OptionalonFulfilled?: ((value, ...args) => void)
- (value, ...args): void
- Returns void
 
 
- OptionalonRejected?: ((reason, ...args) => void)
- (reason, ...args): void
- Parameters- reason: unknown
- Rest...args: A
 
- Returns void
 
 
fulfilled value