Creates an identity arrow.
Applies multiple arrows in parallel to an input value.
Returns an arrow that produces a failure regardless of the input value.
Forks the execution of a Task
using the provided
implicit execution context.
Produces a recursive arrow.
Produces a recursive arrow. Example:
val sum: Arrow[List[Int], Int] = Arrow.recursive { self => Arrow[List[Int]].flatMap { case Nil => 0 case head :: tail => self(head).map(_ + head) } }
Returns an arrow that produces a constant value regardless of the input value.
Implicit conversion from Task
to Task
.
Implicit conversion from Task
to Task
. This method is provided to
make the migration easier and is not meant for production usage.
(Since version ) Use Task.async
Implicit conversion from Task
to Task
.
Implicit conversion from Task
to Task
. This method is provided to
make the migration easier and is not meant for production usage.
(Since version ) Use task.run