Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for exists (0.17 sec)

  1. misc/wasm/wasm_exec_node.js

    require("./wasm_exec");
    
    const go = new Go();
    go.argv = process.argv.slice(2);
    go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    JavaScript
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top