bootstack.streams.Handle#
- class bootstack.streams.Handle(cancel_fn)#
Bases:
objectCancellable handle returned by stream terminal operators.
Duck-type compatible with
Subscription— supports.cancel(), context manager protocol, and.cancelledproperty.Returned by
Stream.listen()and time-based stream operators (debounce,throttle,delay).- cancel()#
Detach the handler and clean up all resources in the chain.