Skip to content

Add Promise.Resolver.isCancelled property #47

@lilyball

Description

@lilyball

We should have a way to test a resolver to see if it's been cancelled yet. The use-case here is when I'm performing a non-cancellable async action followed up by more work, I want to be able to skip the subsequent work if I was cancelled by the time the action finishes.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions