-
Notifications
You must be signed in to change notification settings - Fork 19
Description
The SSF spec talks a lot about the moment that a Transmitter sends an event to a Receiver. However, that is not the only moment in the lifecycle of an event. An event's life goes through the following steps (wrt to SSF):
- An event happens and is reported to the Transmitter
- The Transmitter queues the event on zero or more streams
- The Transmitter sends the event to the Receiver OR the Receiver polls the event from the Transmitter
The spec should make these steps more explicit because it will help to make sense of the stream status information. For instance, when a stream is enabled, all three of these steps happen. When a stream is paused it means that 1 and 2 still happen, but 3 is temporarily stopped. When a stream is disabled, only 1 happens - both 2 and 3 are ignored.
By connecting the stream status to these event creation and queueing moments, it will become easier to answer questions like, "What should happen to polling streams when the stream is paused?"