Module: dev-test-environment/util/EventHelpers/EventHelpers

Functions

publish

publish(eventName, data): void

Parameters

Name

Type

eventName

string

data

any

Returns

void


subscribe

subscribe(eventName, listener): void

Parameters

Name

Type

eventName

string

listener

EventListenerOrEventListenerObject

Returns

void


unsubscribe

unsubscribe(eventName, listener): void

Parameters

Name

Type

eventName

string

listener

EventListenerOrEventListenerObject

Returns

void