Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow failed event handler to return Promise<void> or number
The type for the `failed` event only allowed you to return a `Promise<number>` or `void`. However, you might want to return a `number` synchronously, or return `void` asynchronously. This change allows those other cases in the `failed` event handler.
- Loading branch information