JSEventEmitter constructor (1 of 2)
Creates a new instance of a standalone (runtime-agnostic) event emitter.
C#
public JSEventEmitter()
See Also
- class JSEventEmitter
- namespace Microsoft.JavaScript.NodeApi
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
- struct JSValue
- class JSEventEmitter
- namespace Microsoft.JavaScript.NodeApi