File tree 3 files changed +3
-9
lines changed
3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 297
297
([^IEventSource source default-val ^double timeout timeout-val]
298
298
(.take source default-val false timeout timeout-val)))
299
299
300
- ; ;;
301
-
302
- (require '[manifold.stream.graph])
303
-
304
300
(defn connect
305
301
" Connects a source to a sink, propagating all messages from the former into the latter.
306
302
331
327
connector (.connector ^IEventSource source sink)]
332
328
(if connector
333
329
(connector source sink options)
334
- (manifold.stream.graph/connect source sink options))
330
+ (( requiring-resolve ' manifold.stream.graph/connect) source sink options))
335
331
nil )))
336
332
337
333
; ;;
866
862
(isSynchronous [_]
867
863
false )
868
864
(downstream [this]
869
- (manifold.stream.graph/downstream this))
865
+ (( requiring-resolve ' manifold.stream.graph/downstream) this))
870
866
(close [_]
871
867
(.close ^IEventStream buf))
872
868
(description [_]
Original file line number Diff line number Diff line change 86
86
(alterMeta [_ f# args#]
87
87
(manifold.utils/with-lock* ~'lock
88
88
(set! ~'__mta (apply f# ~'__mta args#))))
89
- (~'downstream [this#] (manifold.stream.graph/downstream this#))
89
+ (~'downstream [this#] (( requiring-resolve ' manifold.stream.graph/downstream) this#))
90
90
(~'weakHandle [this# ref-queue#]
91
91
(manifold.utils/with-lock ~'lock
92
92
(or ~'__weakHandle
Original file line number Diff line number Diff line change 2
2
{:no-doc true }
3
3
(:require
4
4
[clj-commons.primitive-math :as p]
5
- [manifold.stream.graph :as g]
6
5
[manifold.deferred :as d]
7
6
[manifold.stream.core :as s]
8
7
[manifold.utils :as utils])
11
10
AtomicReference]
12
11
[java.util.concurrent
13
12
BlockingQueue
14
- LinkedBlockingQueue
15
13
TimeUnit]))
16
14
17
15
(s/def-source BlockingQueueSource
You can’t perform that action at this time.
0 commit comments