interface PromiseWatcher {
    onFulfilled: undefined | ((fulfilment: unknown, ...args: unknown[]) => void);
    onRejected: undefined | ((reason: unknown, ...args: unknown[]) => void);
}

Properties

onFulfilled: undefined | ((fulfilment: unknown, ...args: unknown[]) => void)
onRejected: undefined | ((reason: unknown, ...args: unknown[]) => void)