import { Webview } from "https://dotland.deno.dev/x/webview@0.8.1/src/webview.ts";
Binds a callback so that it will appear in the webview with the given name as a global async JavaScript function. Callback receives a seq and req value. The seq parameter is an identifier for using {@link Webview.return} to return a value while the req parameter is a string of an JSON array representing the arguments passed from the JavaScript function call.