UNPKG

@serenity-js/core

Version:

The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure

10 lines 446 B
import type { ActivityDetails, CorrelationId } from '../model'; import type { TellsTime } from '../screenplay'; import type { DomainEvent } from './DomainEvent'; export interface EmitsDomainEvents extends TellsTime { currentSceneId(): CorrelationId; assignNewActivityId(details: ActivityDetails): CorrelationId; announce(event: DomainEvent): void; waitForNextCue(): Promise<void>; } //# sourceMappingURL=EmitsDomainEvents.d.ts.map