import {StageManager} from '@serenity-js/core/lib/stage'
public class | source

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public
public

notifyOf(event: DomainEvent): void

public

register(subscribers: UNKNOWN)

public

waitForNextCue(): Promise

Public Constructors

public constructor() source

Public Methods

public currentTime(): Timestamp source

Returns:

Timestamp

public deregister(subscriber: ListensToDomainEvents) source

Params:

NameTypeAttributeDescription
subscriber ListensToDomainEvents

public notifyOf(event: DomainEvent): void source

Params:

NameTypeAttributeDescription
event DomainEvent

Returns:

void

public register(subscribers: UNKNOWN) source

Params:

NameTypeAttributeDescription
subscribers UNKNOWN

public waitForNextCue(): Promise source

Returns:

Promise