implicit final class TaskCompanionUtils extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TaskCompanionUtils
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TaskCompanionUtils(source: Task.type)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
deferCompletableFutureAction[A](f: (Scheduler) ⇒ CompletableFuture[A]): Task[A]
Wraps calls that generate
CompletableFutureresults into a Task, provided a callback with an injected Scheduler to act as theExecutorfor asynchronous actions. -
def
fromCompletableFuture[A](cf: CompletableFuture[A]): Task[A]
Converts the given Java
CompletableFutureinto aTask.Converts the given Java
CompletableFutureinto aTask.NOTE: if you want to defer the creation of the future, use in combination with Task.defer
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val source: Task.type
-
def
toString(): String
- Definition Classes
- Any