Skip to content

Implement always() - similar to "finally" in a "try..catch..finally" block #6

@johnyanarella

Description

@johnyanarella

Implement always() and add to README.md.

always is similar to finally in a try..catch..finally block. It attaches an onCompleted callback that is executed when the Promise is resolved or rejected.

NOTE: The specified callback does not affect the resulting Promise's outcome; any return value is ignored and any Error is rethrown.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions