MCPcopy Create free account
hub / github.com/UnsignedInt8/LightSword / ISocketAsync

Interface ISocketAsync

typings/async-node/async-node.d.ts:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 import { Socket } from 'net';
5
6 interface ISocketAsync {
7 connectAsync(path: string): Promise<boolean>;
8 connectAsync(port: number, host: string): Promise<boolean>;
9 writeAsync(data: Buffer): Promise<boolean>;
10 writeAsync(data: Buffer, encoding: string): Promise<boolean>;
11 readAsync(): Promise<Buffer>;
12 }
13
14 export interface Socket extends ISocketAsync {
15 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected