git ssb

0+

wanderer🌟 / wasm-persist



Tree: 8fb216c62276f508a5fd349383be046d162baaa7

Files: 8fb216c62276f508a5fd349383be046d162baaa7 / docs / index.md

2658 bytesRaw

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Table of Contents

prepare

index.js:16-18

Prepares a binary by injecting getter and setter function for memory, globals and tables.

Parameters

Returns ArrayBuffer the resulting wasm binary

hibernate

index.js:27-64

Given a Webassembly Instance this will produce an Object containing the current state of the instance

Parameters

Returns Object the state of the wasm instance

resume

index.js:72-102

Resumes a previously hibernated Webassembly instance

Parameters

Returns WebAssembly.Instance

Built with git-ssb-web