Skip to content

Function: connectionPair() ​

ts
function connectionPair(options?): [Connection, Connection];

Defined in: netconf/src/transport/memory.ts:26

Two connected in-memory ends: what one writes, the other receives.

Parameters ​

options? ​

ConnectionPairOptions = {}

Returns ​

[Connection, Connection]

Released under the MIT Licence.