final case classLatch[A](in: Ex[A], trig: Trig) extends Ex[A] with Product with Serializable
Latches the expression based on the trigger argument.
The initial state of the returned expression corresponds to the
initial state of the input expression. Subsequent values are
updated and cached only when a trigger occurs.
Linear Supertypes
Serializable, Serializable, Ex[A], Lazy, Product, Equals, AnyRef, Any
Latches the expression based on the trigger argument. The initial state of the returned expression corresponds to the initial state of the input expression. Subsequent values are updated and cached only when a trigger occurs.