File tree 3 files changed +2
-15
lines changed
src/main/clojure/clojure/core/async 3 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ Copyright © Rich Hickey and contributors
65
65
66
66
## Changelog
67
67
68
- * Release 1.7 .735 on 2025.04.02
68
+ * Release 1.8 .735 on 2025.04.02
69
69
* Fix reflection warnings when using ` clojure.core.async.go-checking `
70
70
* Release 1.8.730 on 2025.04.02, effective changes since last non-beta release:
71
71
* [ ASYNC-256] ( https://clojure.atlassian.net/browse/ASYNC-256 ) (CLJ) Add ` io-thread ` and System property ` clojure.core.async.executor-factory `
Original file line number Diff line number Diff line change 134
134
" like ping, but just pings the specified process"
135
135
[g pid & {:keys [timeout-ms] :or {timeout-ms 1000 }}]
136
136
(g/ping-proc g pid timeout-ms))
137
-
138
- (defn command-proc
139
- " synchronously sends a process-specific command with the given id and
140
- additional kvs to the process. The cmd-id must be ns-qualified with
141
- a ns you own."
142
- [g pid cmd-id more-kvs] (g/command-proc g pid cmd-id more-kvs))
143
137
144
138
(defn inject
145
139
" asynchronously puts the messages on the channel corresponding to the
Original file line number Diff line number Diff line change 166
166
(pause [_] (send-command ::flow/pause ::flow/all ))
167
167
(resume [_] (send-command ::flow/resume ::flow/all ))
168
168
(ping [_ timeout-ms] (handle-ping ::flow/all timeout-ms))
169
-
170
169
(pause-proc [_ pid] (send-command ::flow/pause pid))
171
170
(resume-proc [_ pid] (send-command ::flow/resume pid))
172
- (ping-proc [_ pid timeout-ms] (handle-ping pid timeout-ms))
173
- (command-proc [_ pid command kvs]
174
- (assert (and (namespace command) (not= (namespace ::flow/command ) (namespace command)))
175
- " extension commands must be in your own namespace" )
176
- (let [{:keys [control]} (running-chans )]
177
- (async/>!! control (merge kvs #::flow{:command command :to pid}))))
178
-
171
+ (ping-proc [_ pid timeout-ms] (handle-ping pid timeout-ms))
179
172
(inject [_ coord msgs]
180
173
(let [{:keys [resolver]} (running-chans )
181
174
chan (spi/get-write-chan resolver coord)]
You can’t perform that action at this time.
0 commit comments