libtcspc.StuckReader

final class libtcspc.StuckReader(event_type)[source]

Bases: AcquisitionReader

Acquisition reader that waits indefinitely without producing data.

Used to exercise cancellation paths. When this reader is in use, the only way to terminate the surrounding Acquire is to call halt() on its AcquireAccess.

Parameters:

event_type (EventType) – Element type that the reader would otherwise produce. Must match the element type of the Acquire processor.

See also

tcspc::stuck_reader

The underlying C++ reader.

AcquireAccess

Runtime access object providing halt().