Plotly.io.stream and Python Asyncio: Managing Long-Running Stream Cancellations
Integrating plotly.io.stream with asynchronous Python pipelines requires a mechanism to terminate active data transmissions when a client disconnects or a task is cancelled. While the timeout parameter handles inactivity, it does not provide a way to signal an immediate stop to a compute-heavy data generator that is currently pushing updates to a figure. Cur