API Reference Concurrency - manuelJung/redux-ruleset GitHub Wiki

Concurrency

DEFAULT

{ concurrency: 'DEFAULT' }

This is the default behaviour (you don't have to set it). Consequences won't be canceled and the order is as it comes in

FIRST

{ concurrency: 'FIRST' }

When your consequence does return a promise the rule won't be executed again until this promise resolves or rejects.

LAST

{ concurrency: 'LAST' }

As soon as a rule is executed all previous running consequences will be canceled.

ONCE

{ concurrency: 'ONCE' }

The rule will be executed only once. Ever.

SWITCH

{ concurrency: 'SWITCH' }

The rule executes for every target action. If a later execution dispatches before an earlier one, the earlier one will be canceled.

ORDERED

{ concurrency: 'ORDERED' }

The rule executes for every target action. If a later execution dispatches before an earlier one, the dispatch will wait until the earlier one dispatches (or creates an effect)