Skip to content

Why is .run a promise? #37

@timkindberg

Description

@timkindberg

The async nature of .run does not seem necessary. The function applicableActions does no asynchronous work, so it's really a promise for no reason.

I wouldn't normally care, but I'm trying to implement my own rules runner and it would be much easier to write if I could rely on everything to be synchronous.

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