Skip to content

Commit

Permalink
chore: add selector to system
Browse files Browse the repository at this point in the history
  • Loading branch information
armed committed Jun 10, 2022
1 parent 33e76e6 commit e15dd90
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/k16/gx/beta/system.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
(get @registry* system-name))

(defn signal!
[system-name signal-key]
(when-let [gx-map (get @registry* system-name)]
(swap! registry* assoc system-name @(gx/signal gx-map signal-key))))
([system-name signal-key]
(signal! system-name signal-key #{}))
([system-name signal-key priority-selector]
(when-let [gx-map (get @registry* system-name)]
(swap! registry* assoc system-name
@(gx/signal gx-map signal-key priority-selector)))))

1 comment on commit e15dd90

@vercel
Copy link

@vercel vercel bot commented on e15dd90 Jun 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gx – ./

gx-git-master-kepler16.vercel.app
gx-kepler16.vercel.app
gx.kepler16.com

Please sign in to comment.