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

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

deregister(subscriber: ListensToDomainEvents): void

public

notifyOf(event: DomainEvent): void

public

register(subscribers: UNKNOWN): void

public

waitForNextCue(): Promise

Public Constructors

public constructor() source

Public Methods

public currentTime(): Timestamp source

Returns:

Timestamp

public deregister(subscriber: ListensToDomainEvents): void source

Params:

NameTypeAttributeDescription
subscriber ListensToDomainEvents

Returns:

void

public notifyOf(event: DomainEvent): void source

Params:

NameTypeAttributeDescription
event DomainEvent

Returns:

void

public register(subscribers: UNKNOWN): void source

Params:

NameTypeAttributeDescription
subscribers UNKNOWN

Returns:

void

public waitForNextCue(): Promise source

Returns:

Promise