Fold
rescala.operator.FoldBundle.Fold
object Fold
Folds when any one of a list of events occurs, if multiple events occur, every fold is executed in order.
Example for a counter that can be reset:
Fold(0)(
add act { x => current + v },
reset act { _ => 0 }
)
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Fold.type
Members list
In this article