git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 3c9e6f994621504f855b1992f1e25e2bb1bf389b

Files: 3c9e6f994621504f855b1992f1e25e2bb1bf389b / docs / portManager.md

5596 bytesRaw

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

Table of Contents

constructor

portManager.js:41-44

The port manager manages the the ports. This inculdes creation, deletion fetching and waiting on ports

Parameters

start

portManager.js:51-63

starts the port manager. This fetchs the ports from the state and maps them to thier names

Returns Promise

bind

portManager.js:75-79

binds a port to a name

Parameters

queue

portManager.js:85-87

queues a message on a port

Parameters

get

portManager.js:94-96

gets a port given it's name

Parameters

Returns Object

delete

portManager.js:102-106

deletes a port given its name

Parameters

isValidPort

portManager.js:113-115

check if a port object is still valid

Parameters

Returns Boolean

create

portManager.js:122-146

creates a new Port given the container type

Parameters

Returns Object the newly created port

wait

portManager.js:155-167

waits till all ports have reached a threshold tick count

Parameters

Returns Promise

getNextMessage

portManager.js:174-187

gets the next canonical message given the an array of ports to choose from

Parameters

Returns Promise

Built with git-ssb-web