Class MutableListener
- Namespace
- SodaFlow
- Assembly
- SodaFlow.Core.dll
A listener whose target can be replaced while the handle itself stays the same.
[PublicAPI]
public class MutableListener : IListener
- Inheritance
-
MutableListener
- Implements
- Inherited Members
- Extension Methods
Remarks
Use this for an object with a long life that listens to a sequence of
sources with short lives. It is one field with one life and a target that
changes. To give it a listener, call SetListener. To release the
current listener, call ClearListener. To stop it fully, call
Unlisten.