Make core.async.impl.protocols namespace reachable from within bb
This commit is contained in:
parent
f588319ac1
commit
d3f1b05102
2 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
(ns babashka.impl.async
|
||||
{:no-doc true}
|
||||
(:require [clojure.core.async :as async]))
|
||||
(:require [clojure.core.async :as async]
|
||||
[clojure.core.async.impl.protocols :as protocols]))
|
||||
|
||||
(defn thread
|
||||
[_ _ & body]
|
||||
|
|
@ -66,3 +67,5 @@
|
|||
'untap async/untap
|
||||
'untap-all async/untap-all})
|
||||
|
||||
(def async-protocols-namespace
|
||||
{'ReadPort protocols/ReadPort})
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
(ns babashka.main
|
||||
{:no-doc true}
|
||||
(:require
|
||||
[babashka.impl.async :refer [async-namespace]]
|
||||
[babashka.impl.async :refer [async-namespace async-protocols-namespace]]
|
||||
[babashka.impl.cheshire :refer [cheshire-core-namespace]]
|
||||
[babashka.impl.classes :as classes]
|
||||
[babashka.impl.classpath :as cp]
|
||||
|
|
@ -252,6 +252,7 @@ Everything after that is bound to *command-line-args*."))
|
|||
'babashka.signal {'pipe-signal-received? pipe-signal-received?}
|
||||
'clojure.java.io io-namespace
|
||||
'clojure.core.async async-namespace
|
||||
'clojure.core.async.impl.protocols async-protocols-namespace
|
||||
'clojure.data.csv csv/csv-namespace
|
||||
'cheshire.core cheshire-core-namespace
|
||||
'clojure.stacktrace stacktrace-namespace
|
||||
|
|
|
|||
Loading…
Reference in a new issue