UNPKG

@typescript-eda/domain

Version:

Core domain primitives for event-driven architecture

17 lines 464 B
/** * @fileoverview This file defines the Event class, a base class for domain events. * @author rydnr * @module domain/event */ /** * Represents a domain event, which is something that has happened in the past. */ export declare class Event { readonly payload: unknown; /** * Creates an instance of Event. * @param {unknown} payload The payload of the event. */ constructor(payload: unknown); } //# sourceMappingURL=event.d.ts.map