git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 9a07e7438dc7dd2ef37c0a2d53a29fbad20ced9a

Files: 9a07e7438dc7dd2ef37c0a2d53a29fbad20ced9a / 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