Skip to content

JSEventEmitter constructor (1 of 2)

Creates a new instance of a standalone (runtime-agnostic) event emitter.

C#
public JSEventEmitter()

See Also


JSEventEmitter constructor (2 of 2)

Creates a new instance of an event emitter backed by a Node.js EventEmitter object.

C#
public JSEventEmitter(JSValue nodejsEventEmitter)

See Also

Released under the MIT license