Function
connectToPipe
(
targetName: string,
senderName?: string,
timeoutMs?: number,
tcpEndpoint?: TcpEndpoint,
)
Source from the content-addressed store, hash-verified
| 517 | } |
| 518 | |
| 519 | export async function connectToPipe( |
| 520 | targetName: string, |
| 521 | senderName?: string, |
| 522 | timeoutMs?: number, |
| 523 | tcpEndpoint?: TcpEndpoint, |
| 524 | ): Promise<PipeClient> { |
| 525 | const client = new PipeClient(targetName, senderName, tcpEndpoint) |
| 526 | await client.connect(timeoutMs) |
| 527 | return client |
| 528 | } |
| 529 | |
| 530 | /** |
| 531 | * List all registered pipe names (fast — file scan only, no network probe). |
Tested by
no test coverage detected