Bring back required export jsCallDispatcher.findJSFunction (dotnet/extensions#2002)
\n\nCommit migrated from 5350efd2f4
This commit is contained in:
parent
86b55046c9
commit
3c42f4436f
|
|
@ -141,6 +141,14 @@ module DotNet {
|
||||||
* Receives incoming calls from .NET and dispatches them to JavaScript.
|
* Receives incoming calls from .NET and dispatches them to JavaScript.
|
||||||
*/
|
*/
|
||||||
export const jsCallDispatcher = {
|
export const jsCallDispatcher = {
|
||||||
|
/**
|
||||||
|
* Finds the JavaScript function matching the specified identifier.
|
||||||
|
*
|
||||||
|
* @param identifier Identifies the globally-reachable function to be returned.
|
||||||
|
* @returns A Function instance.
|
||||||
|
*/
|
||||||
|
findJSFunction, // Note that this is used by the JS interop code inside Mono WebAssembly itself
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invokes the specified synchronous JavaScript function.
|
* Invokes the specified synchronous JavaScript function.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue