Interface IEvent<T>
Marker for any value that participates in the Virtufin event flow. Events are immutable facts; they are appended to logs, transported on Dapr topics, and folded into state by algebræ. Implementations should be records so they have value equality.
public interface IEvent<T> : IEquatable<IEvent<T>> where T : IComparable<T>
Type Parameters
TThe event's own time type (e.g. DateTimeOffset for real-time domain events, or an open type parameter for indicator samples whose time axis is caller-defined).
- Inherited Members
Properties
Time
The time at which this event's fact occurred.
T Time { get; }
Property Value
- T