Skip to content

Commit

Permalink
Switch to low integer = low priority
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Feb 5, 2025
1 parent eaa6e56 commit 8cecc07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jdaviz/core/template_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,9 +1539,10 @@ def __init__(self, plugin, items, selected, viewer,
handler=self._on_data_added)
self.hub.subscribe(self, RemoveDataMessage,
handler=lambda _: self._update_items())
# Default Glue subscriber priority is 10, lowest integer priority is handled last
self.hub.subscribe(self, SubsetCreateMessage,
handler=lambda _: self._on_subset_created(),
priority=100)
priority=0)
self.hub.subscribe(self, SubsetUpdateMessage,
handler=lambda _: self._update_items())
self.hub.subscribe(self, SubsetDeleteMessage,
Expand Down

0 comments on commit 8cecc07

Please sign in to comment.