Task<A> class
- Implemented types
-
- MonadCatchOps<
Task, A>
- MonadCatchOps<
- Available extensions
Properties
-
flatten
→ Task<
A> -
Available on Task<
Task< , provided by the TaskFlattenOps extensionA> >no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
option
→ Task<
Option< A> > -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
timed
→ Task<
Tuple2< Duration, A> > -
no setter
-
voided
→ Task<
void> -
no setter
Methods
-
andThen<
B> (covariant Task< B> next) → Task<B> -
override
-
ap<
B> (covariant Task< Function1< ff) → Task<A, B> >B> -
override
-
attempt(
) → Task< Either< Object, A> > -
override
-
bind<
B> (covariant Function1< A, Task< f) → Task<B> >B> -
override
-
both<
B> (Task< B> that) → Task<Tuple2< A, B> > -
bracket<
B> (Function1< A, Task< use, Function1<B> >A, Task< release) → Task<void> >B> -
delayBy(
Duration duration) → Task< A> -
fail(
Object err) → Task< A> -
override
-
flatMap<
B> (covariant Function1< A, Task< f) → Task<B> >B> -
override
-
flatTap<
B> (Task< B> that) → Task<A> -
guarantee(
Task< void> finalizer) → Task<A> -
handleError(
Function1< Object, A> f) → Task<A> -
handleErrorWith(
Function1< Object, Task< f) → Task<A> >A> -
ifM<
B> (Task< B> ifTrue, Task<B> ifFalse) → Task<B> -
Available on Task<
bool> , provided by the TaskBoolOps extension -
map<
B> (B f(A a)) → Task< B> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
product<
B> (Task< B> that) → Task<Tuple2< A, B> > -
productL<
B> (Task< B> that) → Task<A> -
productR<
B> (Task< B> that) → Task<B> -
pure<
B> (B b) → Task< B> -
race<
B> (Task< B> that) → Task<Either< A, B> > -
redeem<
B> (Function1< Object, B> recover, Function1<A, B> map) → Task<B> -
redeemWith<
B> (Function1< Object, Task< recover, Function1<B> >A, Task< bind) → Task<B> >B> -
replace<
B> (B replacement) → Task< B> -
override
-
replicate(
int n) → Task< IList< A> > -
run(
) → Future< A> -
strengthL<
B> (B b) → Task< Tuple2< B, A> > -
override
-
strengthR<
B> (B b) → Task< Tuple2< A, B> > -
override
-
timeout(
Duration timeLimit) → Task< A> -
timeoutTo(
Duration timeLimit, Task< A> fallback) → Task<A> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited