git ssb

0+

wanderer🌟 / wasm-persist



Tree: 75864bd5ab5d242349cbe42dcc37db22b686e9c5

Files: 75864bd5ab5d242349cbe42dcc37db22b686e9c5 / 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