git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 1cb8325aadecdc8aed5d21bf203f529a4879d5b8

Files: 1cb8325aadecdc8aed5d21bf203f529a4879d5b8 / docs / hypervisor.md

4307 bytesRaw

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

Table of Contents

constructor

index.js:18-27

The Hypervisor manages the container instances by instantiating them and destorying them when possible. It also facilitates localating Containers

Parameters

send

index.js:34-39

sends a message(s). If an array of message is given the all the messages will be sent at once

Parameters

Returns Promise a promise that resolves once the receiving container is loaded

loadActor

index.js:46-70

loads an actor from the tree given its id

Parameters

Returns Promise&lt;Actor>

createActor

index.js:78-102

creates an instance of an Actor

Parameters

createStateRoot

index.js:116-124

creates a state root starting from a given container and a given number of ticks

Parameters

Returns Promise

setStateRoot

index.js:131-135

set the state root. The promise must resolve before creating or sending any more messages to the hypervisor

Parameters

Returns Promise

registerContainer

index.js:141-143

regesters a container with the hypervisor

Parameters

registerDriver

index.js:149-151

register a driver with the hypervisor

Parameters

Built with git-ssb-web