Skip to content

Clarify/Add requirement to explicitly reject promises in error cases #556

@alcooper91

Description

@alcooper91

The spec should call out that in error cases promises should be rejected rather than allowed to time out. Specifically in cases where there may be an outstanding promise and the device is unplugged/disconnected during that promise.
Perhaps InvalidStateError? Perhaps as a separate "Error Handling" section?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions