Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polish: remove misleading comment (#3806)
We could not demonstrate via actual benchmarking that the tick reduction from awaiting a promise prior to returning it translates into real-world performance gains. See #3796. In any case, the promise must be awaited (irrespective of performance) to allow the catch block to handle rejection errors. Simply returning `completed` would result in test failures.
- Loading branch information