Skip to content

procxy / EventMessage

Interface: EventMessage

Defined in: src/shared/protocol.ts:166

Event message sent from child to parent for EventEmitter events. Forwards events emitted in child to listeners in parent.

Properties

PropertyTypeDescriptionDefined in
argsJsonifiable[]Positional arguments from the emit(eventName, ...args) callsrc/shared/protocol.ts:172
eventNamestringName of the EventEmitter event that was emitted in the childsrc/shared/protocol.ts:170
type"EVENT"Discriminant: always 'EVENT'src/shared/protocol.ts:168

Released under the MIT License.