AutoRenewStream<T> constructor
AutoRenewStream<T> (
- StreamFactory<
T> streamFactory
Default constructor
Constructs a stream from a streamFactory. The first time someone calls listen on this stream, the factory is used to create the initial stream, which is then consumed as usual.
Implementation
AutoRenewStream(this.streamFactory) : _initialStream = null;