mode property

AsyncLineMode mode
getter/setter pair

The dispatch mode for this AsyncEventLine.

Sequential: All subscribers are notified in a chain-like manner, sorted by priority. It is guaranteed, that higher priorities will be executed later than lower priorities.

Parallel: All listeners start their handling of the event at the same time. It is not guaranteed, that higher changes made by higher priority subscribers won't get overridden by lower priority subscribers.

Implementation

AsyncLineMode mode = AsyncLineMode.sequential;