Skip to content

Commit 77b9779

Browse files
committed
moving to Executor
1 parent e817b12 commit 77b9779

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/clojure/clojure/core/async/flow/spi.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
N.B. outputs may be nil if not connected
8383
:resolver - an impl of spi/Resolver, which can be used to find
8484
channels given their logical [pid cid] coordinates, as well as to
85-
obtain ExecutorServices corresponding to the
85+
obtain Executors corresponding to the
8686
logical :mixed/:io/:compute contexts"))
8787

8888
(defprotocol Resolver
@@ -91,5 +91,5 @@
9191
write to or nil (in which case the output should be dropped,
9292
e.g. nothing is connected).")
9393
(get-exec [_ context]
94-
"returns the ExecutorService for the given context, one
94+
"returns the Executor for the given context, one
9595
of :mixed, :io, :compute"))

src/main/clojure/clojure/core/async/impl/dispatch.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
(ns ^{:skip-wiki true}
1010
clojure.core.async.impl.dispatch
11-
(:import [java.util.concurrent Executors Executor ExecutorService ThreadFactory]))
11+
(:import [java.util.concurrent Executors Executor ThreadFactory]))
1212

1313
(set! *warn-on-reflection* true)
1414

0 commit comments

Comments
 (0)