DelegatingStreamConsumer<T> constructor

DelegatingStreamConsumer<T>(
  1. StreamConsumer<T> consumer
)

Create a delegating consumer forwarding calls to consumer.

Implementation

DelegatingStreamConsumer(StreamConsumer<T> consumer) : _consumer = consumer;