Writing One-to-Many Asynchronously

Data Pipeline has a few ways to do one-to-many writer pipelining.

The first approach is not asynchronous at all. It uses MultiWriter to write to two or more DataWriters sequentially, in the same thread.

You can make this pipeline asynchronous by wrapping the MultiWriter in an AsyncWriter.

Another way to make this pipeline asynchronous is to wrap the writers passed to MultiWriter with AsyncWriter.

Mobile Analytics