You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Creates an `ExecutionContext` from the given `ExecutorService`.
132
134
*
133
-
* @parame the `ExecutorService` to use
135
+
* @parame the `ExecutorService` to use. If `null`, a new `ExecutorService` is created with [[http://www.scala-lang.org/api/current/index.html#scala.concurrent.ExecutionContext$@global:scala.concurrent.ExecutionContextExecutor default configuration]].
134
136
* @paramreporter a function for error reporting
135
137
* @return the `ExecutionContext` using the given `ExecutorService`
136
138
*/
@@ -147,14 +149,14 @@ object ExecutionContext {
147
149
* val ec = ExecutionContext.fromExecutorService(Executors.newSingleThreadExecutor())
148
150
* }}}
149
151
*
150
-
* @parame the `ExecutorService` to use
152
+
* @parame the `ExecutorService` to use. If `null`, a new `ExecutorService` is created with [[http://www.scala-lang.org/api/current/index.html#scala.concurrent.ExecutionContext$@global:scala.concurrent.ExecutionContextExecutor default configuration]].
151
153
* @return the `ExecutionContext` using the given `ExecutorService`
/** Creates an `ExecutionContext` from the given `Executor`.
156
158
*
157
-
* @parame the `Executor` to use
159
+
* @parame the `Executor` to use. If `null`, a new `Executor` is created with [[http://www.scala-lang.org/api/current/index.html#scala.concurrent.ExecutionContext$@global:scala.concurrent.ExecutionContextExecutor default configuration]].
158
160
* @paramreporter a function for error reporting
159
161
* @return the `ExecutionContext` using the given `Executor`
160
162
*/
@@ -163,7 +165,7 @@ object ExecutionContext {
163
165
164
166
/** Creates an `ExecutionContext` from the given `Executor` with the [[scala.concurrent.ExecutionContext$.defaultReporter default reporter]].
165
167
*
166
-
* @parame the `Executor` to use
168
+
* @parame the `Executor` to use. If `null`, a new `Executor` is created with [[http://www.scala-lang.org/api/current/index.html#scala.concurrent.ExecutionContext$@global:scala.concurrent.ExecutionContextExecutor default configuration]].
167
169
* @return the `ExecutionContext` using the given `Executor`
0 commit comments