Skip to content

Switch to standard Promises #1018

Closed
@jason0x43

Description

@jason0x43

Intern 4.x makes extensive use of a Task class that provides cancellation and finally. Now that finally is part of standard promises, and given that cancellation isn't all that useful, the Task class should be replaced with Promise, and all APIs returning Tasks should now return PromiseLike.

The webdriver Command class should remain a custom Promise, but based on Promise rather than Task / CancellablePromise.

Metadata

Metadata

Assignees

Labels

effort-highThis will take a whilepriority-highMost importantproject-devUpdates to Intern's organization or dev process

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions