Skip to content

JSCallbackDescriptor structure

Descriptor for a callback not associated with an object property, for example a constructor callback or standalone function callback. Enables passing a data object via the callback args data.

C#
public struct JSCallbackDescriptor

Public Members

namedescription
JSCallbackDescriptor(…)(2 constructors)
Callback { get; }Gets the callback that handles invocations from JavaScript.
Data { get; }Gets the optional data object that will be passed to the callback via Data.
Name { get; }Gets the name of the callback, for debugging purposes.
implicit operator

See Also

Released under the MIT license