trait Env extends AnyRef
An environment provides the capability to execute different types of tasks.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Env
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
executor(tpe: Role): Executor
Retrieves the executor for the specified type of tasks.
-
abstract
def
newWeakHashMap[A, B](): Map[A, B]
Create a new java.util.WeakHashMap if supported by the env, otherwise any implementation of Map.
-
abstract
def
nonFatal(t: Throwable): Boolean
Determines if a throwable is non-fatal or not.
-
abstract
def
reportFailure(cause: Cause[_]): IO[Nothing, _]
Reports the specified failure.
-
abstract
def
scheduler: Scheduler
Retrieves the scheduler.
Concrete 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
- @native() @throws( ... )
-
def
defaultExecutor: Executor
Retrieves the default executor.
-
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] )
-
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
shutdown(): Unit
Shuts down executors.
Shuts down executors. You can try calling others method after this one, but I predict you're going to be disappointed.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
unsafeRun[E, A](io: IO[E, A]): A
Awaits for the result of the fiber to be computed.
-
final
def
unsafeRunAsync[E, A](io: IO[E, A], k: (Exit[E, A]) ⇒ Unit): Unit
Runs the
ioasynchronously. -
final
def
unsafeRunAsync_[E, A](io: IO[E, A]): Unit
Runs the
ioasynchronously, ignoring the results. -
final
def
unsafeRunSync[E, A](io: IO[E, A]): Exit[E, A]
Awaits for the result of the fiber to be computed.
-
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( ... )