MCPcopy Index your code
hub / github.com/pyscript/pyscript / stop

Function stop

core/src/fs.js:6–9  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

4import { $$ } from "basic-devtools";
5
6const stop = (event) => {
7 event.preventDefault();
8 event.stopImmediatePropagation();
9};
10
11// ⚠️ these two constants MUST be passed as `fs`
12// within the worker onBeforeRunAsync hook!

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected