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 467 B
import type { ActivityDetails, CorrelationId } from '../model/index.js'; import type { TellsTime } from '../screenplay/index.js'; import type { DomainEvent } from './DomainEvent.js'; export interface EmitsDomainEvents extends TellsTime { currentSceneId(): CorrelationId; assignNewActivityId(details: ActivityDetails): CorrelationId; announce(event: DomainEvent): void; waitForNextCue(): Promise<void>; } //# sourceMappingURL=EmitsDomainEvents.d.ts.map