Skip to content

Promise code readability #1

@samsch

Description

@samsch

Which of these can you read and understand the quickest and easiest?

0 Simple Promise

1 Promise.try() flow

2 Promise.try() common formatting

3 Await try..catch

4 Await with errify function

errify function is shown for clarity of function, but would be an imported utility in "real" code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions