Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events in parallel with that collection of events.
A symbolic alias for zipRight
.
Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events followed by that collection of events.
A symbolic alias for zipLeft
.
A symbolic alias for zip
.
Maps the events in this collection of events to the specified constant value.
Returns the first event in this collection of events.
Returns the first event in this collection of events. If multiple events occur in parallel and before any other events then any of these events may be returned.
Constructs a new collection of events for each event in this collection of events, collecting them back into a single collection of events.
Flattens a collection of collections of events into a single collection of events.
Folds over the events in this collection of events using the specified functions.
Performs the specified effectual function for each event in this collection of events, collecting them back into a single collection of events.
Transforms the type of events in this collection of events with the specified function.
Combines this collection of events with that collection of events to return the Cartesian product of events, combining the elements into a tuple.
Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from this collection.
Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from that collection.
Combines this collection of events with that collection of events to return the Cartesian product of events using the specified function.
ParSeq
is a data type that represents some notion of "events" that can take place in parallel or in sequence. For example, aParSeq
parameterized on some error type could be used to model the potentially multiple ways that an application can fail. On the other hand, a ParSeqparameterized on some request type could be used to model a collection of requests to external data sources, some of which could be executed in parallel and some of which must be executed sequentially.