We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description Scoping events to a bucket?
on<TriggerEvent>((event, emit) { add(SomeEvent()); }, transformer: restartable());
Then if the event has let's say a sequential transformer:
on<SomeEvent>((event, emit) { // do something }, transformer: sequential());
Is there a way to achieve scoping SomeEvent to TriggerEvent since it is the "parent" event?
SomeEvent
TriggerEvent
Adding another TriggerEvent would cancel SomeEvent and restart it.
SomeEvent will be emitted sequentially since it has the sequential transformer but another TriggerEvent will still cancel the event and restart it.
How can this be achieved please?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Scoping events to a bucket?
Is there a way to achieve scoping
SomeEvent
toTriggerEvent
since it is the "parent" event?Adding another
TriggerEvent
would cancelSomeEvent
and restart it.SomeEvent
will be emitted sequentially since it has the sequential transformer but anotherTriggerEvent
will still cancel the event and restart it.How can this be achieved please?
The text was updated successfully, but these errors were encountered: