Skip to content

Commit

Permalink
feat: switch to native Promises for async APIs
Browse files Browse the repository at this point in the history
- All async APIs now use native Promises -- no more Task or
CancellablePromise
- The cancellation API is mostly new. Command chains still provide a
`cancel` method. Tests, suites, and exector runs can be cancelled by
calling `cancel` on the test, suite, or executor.

references theintern#1018

BREAKING CHANGE: async APIs now return native Promises, and
the cancellation API is entirely new
  • Loading branch information
jason0x43 committed Jul 13, 2020
1 parent 9fc4508 commit 5c92b56
Show file tree
Hide file tree
Showing 88 changed files with 21,658 additions and 21,480 deletions.
1 change: 1 addition & 0 deletions devPackages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
"project": [
"./packages/*/tsconfig.json",
"./packages/*/tests/tsconfig.json",
"./packages/core/tests/examples/tsconfig.json",
"./devPackages/*/tsconfig.json"
]
},
Expand Down
3 changes: 1 addition & 2 deletions packages/common/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export { default as Task } from './lib/Task';
export * from './lib/Task';
export * from './lib/cancel';

export { default as Evented } from './lib/Evented';
export * from './lib/Evented';
Expand Down
Loading

0 comments on commit 5c92b56

Please sign in to comment.