Constructs a lazy Coeval instance.
Constructs a lazy Coeval instance.
This type can be used for "lazy" values. In some sense it is equivalent to using a Function0 value.
The Attempt
represents a strict, already evaluated result
of a Coeval that either resulted in success, wrapped in a
Now, or in an error, wrapped in a Error.
Constructs an eager Coeval instance for a result that represents an error.
Constructs an eager Coeval instance from a strict value that's already known.
Constructs a lazy Coeval instance that gets evaluated only once.
Groups the implementation for the type-classes defined in monix.types.
(Since version 2.0-RC12) Type renamed, use Eval.Always
(Since version 2.0-RC12) Type renamed, use Eval.Once
Promotes a non-strict value to a Coeval.
Promote a non-strict value representing a Coeval
to a Coeval
of the same type.
Alias for eval.
Promote a non-strict value to an Coeval
, catching exceptions in the
process.
Promote a non-strict value to an Coeval
, catching exceptions in the
process.
Note that since Coeval
is not memoized, this will recompute the
value each time the Coeval
is executed.
Promote a non-strict value to a Coeval
that is memoized on the first
evaluation, the result being then available on subsequent evaluations.
Builds a Coeval
out of a Scala Try
value.
Returns an Coeval
that on execution is always successful, emitting
the given strict value.
Lifts a value into the coeval context.
Lifts a value into the coeval context. Alias for now.
Returns an Coeval
that on execution is always finishing in error
emitting the specified exception.
Transforms a TraversableOnce
of coevals into a coeval producing
the same collection of gathered results.
Transforms a TraversableOnce
of coevals into a coeval producing
the same collection of gathered results.
It's a simple version of traverse.
Alias for defer.
Transforms a TraversableOnce[A]
into a coeval of the same collection
using the provided function A => Coeval[B]
.
Transforms a TraversableOnce[A]
into a coeval of the same collection
using the provided function A => Coeval[B]
.
It's a generalized version of sequence.
Implicit type-class instances of Coeval.
A Coeval[Unit]
provided for convenience.
Pairs two Coeval instances.
Pairs three Coeval instances.
Pairs four Coeval instances.
Pairs five Coeval instances.
Pairs six Coeval instances.
Zips together multiple Coeval instances.
Pairs two Coeval instances, creating a new instance that will apply the given mapping function to the resulting pair.
Pairs three Coeval instances, applying the given mapping function to the result.
Pairs four Coeval instances, applying the given mapping function to the result.
Pairs five Coeval instances, applying the given mapping function to the result.
Pairs six Coeval instances, applying the given mapping function to the result.
Alias for eval.
Alias for eval. Deprecated.
(Since version 2.0-RC12) Renamed, please use Coeval.apply or Coeval.eval
(Since version 2.0-RC12) Renamed to Coeval.zipMap2
(Since version 2.0-RC12) Renamed to Coeval.zipMap3
(Since version 2.0-RC12) Renamed to Coeval.zipMap4
(Since version 2.0-RC12) Renamed to Coeval.zipMap5
(Since version 2.0-RC12) Renamed to Coeval.zipMap6