AsyncOps
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Inherited methods
execute two operations in order, return result of second operation
execute two operations in order, return result of second operation
Attributes
- Inherited from:
- ApplicativeOps
execute two operations in order, same as *>
, but return result of first operation
execute two operations in order, same as *>
, but return result of first operation
Attributes
- Inherited from:
- ApplicativeOps
Attributes
- Inherited from:
- FunctorOps
Attributes
- Inherited from:
- ApplicativeErrorOps
Attributes
- Inherited from:
- BracketOps
Attributes
- Inherited from:
- IOOps
Attributes
- Inherited from:
- BracketOps
Attributes
- Inherited from:
- BracketOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ApplicativeOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- FunctorOps
Attributes
- Inherited from:
- GuaranteeOps
Attributes
- Inherited from:
- BracketOps
Attributes
- Inherited from:
- BracketOps
Attributes
- Inherited from:
- BracketOps
Attributes
- Inherited from:
- BracketOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ApplicativeErrorOps
Attributes
- Inherited from:
- ApplicativeErrorOps
Attributes
- Inherited from:
- FunctorOps
execute two operations in order, map their results
Attributes
- Inherited from:
- ApplicativeErrorOps
Convert Throwable typed error into a defect
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- PanicOps
Catch all defects in this effect and convert them to Throwable Example:
Catch all defects in this effect and convert them to Throwable Example:
F.pure(1)
.map(_ => ???)
.sandboxThrowable
.catchAll(_ => IO3(println("Caught error!")))
Attributes
- Inherited from:
- PanicOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- ErrorOps
Attributes
- Inherited from:
- PanicOps
Attributes
- Inherited from:
- FunctorOps
Attributes
- Inherited from:
- FunctorOps
Attributes
- Inherited from:
- ApplicativeErrorOps
Attributes
- Inherited from:
- ApplicativeErrorOps
for-comprehensions sugar:
for-comprehensions sugar:
for {
(1, 2) <- F.pure((2, 1))
} yield ()
Use widenError to for pattern matching with non-Throwable errors:
val f = for {
(1, 2) <- F.pure((2, 1)).widenError[Option[Unit]]
} yield ()
// f: F[Option[Unit], Unit] = F.fail(Some(())
Attributes
- Inherited from:
- ErrorOps
execute two operations in order, return result of both operations
execute two operations in order, return result of both operations
Attributes
- Inherited from:
- ApplicativeOps