object Scheduler extends SchedulerPlatform
- Source
- Scheduler.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Scheduler
- SchedulerPlatform
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
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
-
def
allocate[F[_]](corePoolSize: Int, daemon: Boolean = true, threadPrefix: String = "fs2-scheduler", exitJvmOnFatalError: Boolean = true)(implicit F: Sync[F]): F[(Scheduler, F[Unit])]
Allocates a scheduler in the specified effect type and returns the scheduler along with a shutdown task, that when executed, terminates the thread pool used by the scheduler.
Allocates a scheduler in the specified effect type and returns the scheduler along with a shutdown task, that when executed, terminates the thread pool used by the scheduler.
- Definition Classes
- SchedulerPlatform
-
def
apply[F[_]](corePoolSize: Int, daemon: Boolean = true, threadPrefix: String = "fs2-scheduler", exitJvmOnFatalError: Boolean = true)(implicit F: Sync[F]): Stream[F, Scheduler]
Returns a singleton stream consisting of a
Scheduler
.Returns a singleton stream consisting of a
Scheduler
. The scheduler is shutdown at finalization of the stream.- Definition Classes
- SchedulerPlatform
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromScheduledExecutorService(service: ScheduledExecutorService): Scheduler
Creates a scheduler from the specified executor service.
Creates a scheduler from the specified executor service.
- Definition Classes
- SchedulerPlatform
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @native() @throws( ... )