Skip to content

Commit

Permalink
moving deprecated to code to separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermg committed Jan 14, 2020
1 parent 80c7be6 commit d8ef703
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions obsolete/clj_brokee/hub/middlewares.cljc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(ns clj-brokee.hub.middlewares)

(defrecord Message [meta data])

(def meta-wrap (fn [handler]
(fn [message]
(handler (map->Message {:meta {}
:data message})))))

(def meta-unwrap (fn [handler]
(fn [{:keys [data] :as message}]
(handler data))))
File renamed without changes.
7 changes: 7 additions & 0 deletions obsolete/clj_brokee/hub/transport/async.cljc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(ns clj-brokee.hub.transport.async
#?(:cljs (:require-macros [cljs.core.async.macros :refer [go go-loop]]))
(:require [clj-brokee.hub.core :as h]
#?@(:clj [[clojure.core.async :refer [go go-loop] :as a]]
:cljs [[cljs.core.async :as a]])))

(defrecord AsyncHubTransport [])
File renamed without changes.
5 changes: 5 additions & 0 deletions obsolete/clj_brokee/pubsub/core.cljc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(ns clj-brokee.pubsub.core)

(defprotocol Pubsub
(emit [this message])
(subscribe [this topic]))
6 changes: 0 additions & 6 deletions src/cljc/clj_brokee/util.cljc

This file was deleted.

0 comments on commit d8ef703

Please sign in to comment.