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) 400 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>, }