Bring back required export jsCallDispatcher.findJSFunction (dotnet/extensions#2002)

\n\nCommit migrated from 5350efd2f4
This commit is contained in:
Steve Sanderson 2019-07-10 12:12:11 +01:00 committed by GitHub
parent 86b55046c9
commit 3c42f4436f
1 changed files with 8 additions and 0 deletions

View File

@ -141,6 +141,14 @@ module DotNet {
* Receives incoming calls from .NET and dispatches them to JavaScript.
*/
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.
*