Skip to content

API documentation of Agoric SDK / Exports / @agoric/network / types / Protocol

Interface: Protocol ​

@agoric/network.types.Protocol

The network Protocol

Table of contents ​

Properties ​

Properties ​

bind ​

• bind: (prefix: string) => PromiseVow<Port>

Claim a port, or if ending in ENDPOINT_SEPARATOR, a fresh name

Type declaration ​

▸ (prefix): PromiseVow<Port>

Parameters ​
NameType
prefixstring
Returns ​

PromiseVow<Port>

Defined in ​

packages/network/src/types.js:36