effect_execution.clj

Branches > main > 28220a7 > files / src / net / bowmap / stormbow / effect_execution.clj

(ns net.bowmap.stormbow.effect-execution
  (:require
   [net.bowmap.stormbow.effect :as effect]))

(defmulti execute-effect!
  (fn [effect]
    (::effect/id effect)))

(defn execute-effects! [effects]
  (run! execute-effect! effects))