public SourcedEvent(AgentEventId id, T data) { EventId = id; Payload = data; }
internal PulseEvent(AgentEventId id) => Identity = id;
public static SourcedEvent <T> define <T>(AgentEventId id, T data) where T : unmanaged => new SourcedEvent <T>(id, data);
public SourcedEvent(AgentEventId id) => EventId = id;
public static SourcedEvent define(AgentEventId id) => new SourcedEvent(id);