libtcspc.BucketSource

class libtcspc.BucketSource[source]

Bases: ABC

Base class for sources of bucket storage used by stream-processing graphs.

Subclasses implement different allocation strategies (fresh allocation per request, pooled recycling, etc.) for the storage that backs the buckets emitted by processors such as ReadBinaryStream, Batch, and Acquire.

See also

tcspc::bucket_source

The underlying C++ bucket source interface.