libtcspc.Demultiplex¶
- final class libtcspc.Demultiplex[source]¶
Bases:
NodeProcessor that unwraps a variant type back to individual event types.
Reverses the effect of
Multiplex: each incomingVariantEventis unwrapped and the carried event is emitted as its individual type.The input must consist only of
VariantEvent`(s); non-variant input events are rejected. This matches the typical buffering use case, where the events have just been carried through a single-type stage as a `VariantEvent.Notes
Events handled:
VariantEvent: unwrapped; the carried event passes through as its individual type.End of input: pass through.
See also
- tcspc::demultiplex()
The underlying C++ factory function.
MultiplexCombine the individual event types into a
VariantEvent.VariantEventThe accepted input event type.