1 2 3 4 5 6 7
import {IEvent} from '../core/IEvent'; export interface ISink { createEvent(event: IEvent): Promise<void>; commit(): Promise<void> }