Class: Plumbing::Event
- Defined in:
- lib/plumbing/event.rb
Overview
Base class for pipeline events: an immutable, value-comparable Literal::Data.
Subclasses declare their payload with prop. Because Literal::Data is frozen
and hashes on its properties, equal events are interchangeable and can be
used as Set keys (which is how the pipeline debounces duplicates).
Direct Known Subclasses
Operation::Completed, Operation::Failed, Operation::Started, Operation::Transitioned, Operation::Waiting