Instance Property
isActiveStream
A fresh AsyncStream that immediately yields the current active state and then yields each subsequent transition.
var isActiveStream: AsyncStream<Bool> { get }
Discussion
Each call returns an independent stream with its own continuation; multiple consumers may subscribe concurrently. The continuation is removed automatically when its iterator is destroyed, so subscribers do not need explicit cleanup.