Table of Contents

Method CreateStrongComposite

Namespace
SodaFlow
Assembly
SodaFlow.dll

CreateStrongComposite(IReadOnlyList<IStrongListener>)

Combines some strong listeners into one strong listener which unlistens all of them.

public static IStrongListener CreateStrongComposite(IReadOnlyList<IStrongListener> listeners)

Parameters

listeners IReadOnlyList<IStrongListener>

The listeners to put together.

Returns

IStrongListener

An IStrongListener whose Unlisten() unlistens each listener in listeners, and a disposal does the same.

Remarks

As the listeners in it do, the result keeps the monitored streams in memory until a call stops it, or a disposal stops it.