UNPKG

@serenity-js/core

Version:

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

11 lines (9 loc) 421 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>, }