Skip to content

No control over order of remotes().before hook #3434

Closed
@bitmage

Description

@bitmage

I have two hooks attached to remotes().before, like so:

app.remotes().before('*.*', test1)
app.remotes().before('Company.someAction', test2)

Regardless of which order I put them in, test2 always runs before test1. What is the intended order of operation of these hooks? Should I be able to control it by changing the order I define them in?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions