sync
Syncs the provided bidirectional flows until they are done communicating. The sync operator creates bidirectional communication between the two Flow generator functions.
The communication stops when both generated Flow are completed.
Parameters
the type of the incoming data.
the type of the outgoing data.
Syncs the provided Exchange until they are all done communicating. The sync operator creates a chain of Exchange, and for each pair of the chain, some flows that are then used for communication until all the data is eventually synced.
Because a chain is created, if an Exchange stops exchanging messages in the middle, the extremities of the chain will not be able to communicate anymore. The degenerate case of the chain is a pair of Exchange, which will simply exchange until they're done syncing.
Parameters
the type of the incoming messages.
the type of the outgoing messages.