object ExecutorServices extends Schedulers with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExecutorServices
- Serializable
- Serializable
- Schedulers
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def create(implicit es: ExecutorService, s: ScheduledExecutorService): ExecutorServices
- def createExecutionContext(executorService: ExecutorService, logger: (String) ⇒ Unit = println): ExecutionContext
-
def
default: Scheduler
Default Scheduler for JavaScript
Default Scheduler for JavaScript
- Definition Classes
- Schedulers
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def executor(threadsNb: Int): ExecutorService
-
def
executorFromExecutionContext(ec: ⇒ ExecutionContext): ExecutorService
taken from https://gist.github.com/viktorklang/5245161
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromExecutionContext(ec: ⇒ ExecutionContext): ExecutorServices
create an ExecutionEnv from an execution context only
create an ExecutionEnv from an execution context only
WARNING!!! This method create a brand new scheduledExecutorService which will be used if you use the ExecutorServices to timeout an Async effect
- def fromExecutorService(es: ⇒ ExecutorService): ExecutorServices
- def fromExecutorServices(es: ⇒ ExecutorService, s: ⇒ ScheduledExecutorService): ExecutorServices
-
def
fromGlobalExecutionContext: ExecutorServices
create an ExecutorServices from Scala global execution context
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def scheduledExecutor(scheduledThreadsNb: Int): ScheduledExecutorService
-
def
schedulerFromGlobalExecutionContext: Scheduler
create a Scheduler from Scala global execution context
- def schedulerFromScheduledExecutorService(s: ScheduledExecutorService): Scheduler
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- lazy val threadsNb: Int
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )