final case classPure[T](f: () ⇒ T, inline: Boolean) extends Action[T] with Product with Serializable
A direct computation of a value.
If inline is true, f will be evaluated on the scheduler thread without the overhead of normal scheduling when possible.
This is intended as an optimization for already evaluated values or very short computations.
Linear Supertypes
Serializable, Serializable, Product, Equals, Action[T], AnyRef, Any
A direct computation of a value. If
inline
is true,f
will be evaluated on the scheduler thread without the overhead of normal scheduling when possible. This is intended as an optimization for already evaluated values or very short computations.