ApiCoreFunctions
Function: remoteNode()
function remoteNode(port): Promise<P2PNode>;Defined in: packages/core/src/node/remote.ts:190
The node serveNode answers for on the other end of port: the same API,
each call a message. Resolves once the node has said who it is.
Parameters
| Parameter | Type |
|---|---|
port | MessagePortLike |
Returns
Promise<P2PNode>