git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 66d5b66447fad80c60bcebf2f609c0e48b58ad02

Files: 66d5b66447fad80c60bcebf2f609c0e48b58ad02 / docs / portManager.md

4586 bytesRaw

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

Table of Contents

constructor

portManager.js:32-43

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

Parameters

bind

portManager.js:50-71

binds a port to a name

Parameters

unbind

portManager.js:78-90

unbinds a port given its name

Parameters

Returns Promise

delete

portManager.js:96-100

delete an port given the name it is bound to

Parameters

clearUnboundedPorts

portManager.js:110-117

clears any unbounded ports referances

isBound

portManager.js:124-126

check if a port object is still valid

Parameters

Returns Boolean

queue

portManager.js:132-154

queues a message on a port

Parameters

get

portManager.js:161-163

gets a port given it's name

Parameters

Returns Object

createChannel

portManager.js:169-174

creates a channel returns the created ports in an Array

Returns array

getNextMessage

portManager.js:190-219

Waits for the the next message if any

Returns Promise

Built with git-ssb-web