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

ListensToDomainEvents

A StageCrewMember that can listen and react to DomainEvents

Direct Subclasses:

Member Summary

Public Members
public

notifyOf: function(event: DomainEvent): void

Handles DomainEvent objects emitted by the Stage that this StageCrewMember is assigned to.

Public Members

public notifyOf: function(event: DomainEvent): void source

Handles DomainEvent objects emitted by the Stage that this StageCrewMember is assigned to.