Skip to content

[F] mapEventEmitterToNodeListener

function mapEventEmitterToNodeListener(eventEmitter): SemanticNodeListener

Create a Semantic node listener from an event emitter.

Parameters

ParameterTypeDescription
eventEmitterEventEmitter<SemanticNodeListener>Event emitter.

Returns

SemanticNodeListener

Semantic node listener.