git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 544aad0311fb3d40875bbd64bbdb01d7253fe810

Files: 544aad0311fb3d40875bbd64bbdb01d7253fe810 / docs / portManager.md

5144 bytesRaw

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

Table of Contents

constructor

portManager.js:33-44

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

Parameters

bind

portManager.js:51-73

binds a port to a name

Parameters

unbind

portManager.js:80-92

unbinds a port given its name

Parameters

Returns Promise

delete

portManager.js:98-102

delete an port given the name it is bound to

Parameters

clearUnboundedPorts

portManager.js:112-120

clears any unbounded ports referances

isBound

portManager.js:127-129

check if a port object is still valid

Parameters

Returns Boolean

queue

portManager.js:135-157

queues a message on a port

Parameters

get

portManager.js:164-166

gets a port given it's name

Parameters

Returns Object

create

portManager.js:174-193

creates a new container. Returning a port to it.

Parameters

Returns Object

createChannel

portManager.js:199-213

creates a channel returns the created ports in an Array

Returns array

getNextMessage

portManager.js:229-257

Waits for the the next message if any

Returns Promise

Built with git-ssb-web