git ssb

0+

wanderer🌟 / wasm-persist



Tree: f74b2f64270fd00c432ee293362b293055ca8e9d

Files: f74b2f64270fd00c432ee293362b293055ca8e9d / 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