GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

12 results across 6 corpora for WebAssembly.Suspending.

Papers 6

Developer library 6

WebAssembly

The **`WebAssembly`** JavaScript object acts as the namespace for all [WebAssembly](/docs/WebAssembly)-related functionality. Unlike most other global objects, `WebAssembly` is not a constructor (it is not a function object). You can compare it to Math, which is also a namespace object for mathematical constants and functions, or to Intl which is the namespace object for internationalization constructors and other l

WebAssembly.SuspendError

The **`WebAssembly.SuspendError`** object indicates an error during WebAssembly [function suspension](/docs/WebAssembly/Reference/JavaScript_interface/Suspending). ## Constructor - [`WebAssembly.SuspendError()`](/docs/WebAssembly/Reference/JavaScript_interface/SuspendError/SuspendError) - : Creates a new `WebAssembly.SuspendError` object. ## Instance properties - WebAssembly.SuspendError.prototype.message - :

WebAssembly.SuspendError() constructor

The **`WebAssembly.SuspendError()`** constructor creates a new WebAssembly `SuspendError` object, which indicates an error during WebAssembly [function suspension](/docs/WebAssembly/Reference/JavaScript_interface/Suspending). ## Syntax ```js-nolint new WebAssembly.SuspendError() new WebAssembly.SuspendError(message) new WebAssembly.SuspendError(message, options) new WebAssembly.SuspendError(message, fileName) new W

WebAssembly.promising()

The **`WebAssembly.promising()`** static method is used to wrap an exported Wasm function that relies on an asynchronous operation (that is, an imported suspending function created via the [`WebAssembly.Suspending()`](/docs/WebAssembly/Reference/JavaScript_interface/Suspending/Suspending) constructor), turning it into a Promise. See [`WebAssembly.Suspending`](/docs/WebAssembly/Reference/JavaScript_interface/Suspendi

WebAssembly.Suspending

The **`WebAssembly.Suspending`** object represents a suspending function — an asynchronous (Promise-based) JavaScript function that, when imported into a Wasm module and called from inside, will result in execution being suspended until the promise resolves. > [!NOTE] > The only purpose of `WebAssembly.Suspending` is to mark which imported functions are suspending functions when passing them into a Wasm module impor

WebAssembly.Suspending() constructor

The **`WebAssembly.Suspending()`** constructor creates a new [`Suspending`](/docs/WebAssembly/Reference/JavaScript_interface/Suspending) object instance representing a suspending function. ## Syntax ```js-nolint new WebAssembly.Suspending(function) ``` ### Parameters - `function` - : A reference to an asynchronous (Promise-based) JavaScript function. ### Return value A new `Suspending` object instance. ### E

JSON results · Services directory