ajacksified / ajacksified/Mediator.js

Default priority? How to set a listener to be called at the end?

オープン
#43 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
460
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。