Clojure Is Awesome!!! [PART 6]
https://dev.to/borba/clojure-is-awesome-part-6-4lci
(ns observer (:require [clojure.spec.alpha :as s])) (s/def ::topic keyword?) (s/def ::message any?) (s/def ::callback fn?) (defprotocol Observable “Protocol defining Observable behaviors” (subscribe [this topic callback] "Subscribes a…
You must log in or register to comment.