ajacksified / ajacksified/Mediator.js
Default priority? How to set a listener to be called at the end?
- Vorherrschende Sprache
- JavaScript
- Sterne
- 460
- Forks
- 75
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi,
unfortunately I didn't found any deeper documentation about priority. The documentation says that there is a priority property and you can set a integer value but there is no example or use case.
However, I would like to begin with one use case. I have one function that should be called as the last event listener since it depends on settings the previous listeners will set. Therefore it would be good to know what the default priority is? If it would be `1` I hopefully could set priority to `0` and the function would be called at the end.
However, could somebody @ajacksified tell me how to manage such situations with Mediator.js?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.