Use SignalProducers for deferred or repeatable work
masterSignalProducer represents a task or operation (like a network request) that can be started multiple times.
Key Characteristics:
- Lazy: No work is performed until you call
start(). - Repeatable: Each call to
start()creates a new underlying operation/signal. Different observers may see different event sequences. - Cancellable: Starting a producer returns a
Disposableused to interrupt the work.
Manipulation:
- Use
startWithSignal()to get access to the produced signal. - Use
liftto apply signal primitives (likemaporfilter) to aSignalProducer.