Method GetListenerWithWeakReference
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
GetListenerWithWeakReference(MutableListener)
Gets a view of this mutable listener which does not keep the streams it listens to alive.
public static IListenerWithWeakReference GetListenerWithWeakReference(this MutableListener m)
Parameters
mMutableListenerThe mutable listener.
Returns
- IListenerWithWeakReference
A listener that Unlisten() can stop. It does not by itself keep the monitored streams in memory.