 
 (defn subscribe-all
   ""
-  [system]
+  [system subscribers]
   (let [system (util/pubsub-component->system system)]
     (doseq [[event-type subscriber-funcs] subscribers]
       (subscribe-all-event system

;;;   Component Lifecycle Implementation   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defrecord PubSubComponent [dataflow])

(defn start
  [this]


(defn create-component
  ""
  ([]
   (create-component {}))
  ([subscribers]
   (map->PubSubComponent (merge default-subscribers subscribers))))
