Skip to content

Improve Promise usage by using chaining #276

@markusthoemmes

Description

@markusthoemmes

Promises in the actions are plumbed together in a non-consistent way. Sometimes they use then/catch chaining, sometimes they are constructed globally and then resolve/reject is used. Sometimes, both ways are even mixed together.

We should review the code and fix all usages of Promises to use chaining. That's more readable in general and gives more guarantees on the Promise being actually resolved at some point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions