Files: c8d99be502a496e485cae703eed1e18dc149870b / docs / exoInterface.md
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
Table of Contents
constructor
the ExoInterface manages the varous message passing functions and provides an interface for the containers to use
Parameters
opts
Object
start
starts the container
Returns Promise
queue
adds a message to this containers message queue
Parameters
message
Message
run
run the kernels code with a given enviroment The Kernel Stores all of its state in the Environment. The Interface is used to by the VM to retrive infromation from the Environment.
Parameters
message
Returns Promise
wait
returns a promise that resolves once the kernel hits the threshould tick count
Parameters
threshold
fromPort
threshould
Number the number of ticks to wait
Returns Promise
incrementTicks
updates the number of ticks that the container has run
Parameters
count
Number the number of ticks to add
send
sends a message to a given port
Parameters
portRef
Object the portmessage
Message the message
getInstance
gets a container instance given a port
Parameters
portRef
Object the port
Returns Object
Built with git-ssb-web