20 lines
674 B
TypeScript
20 lines
674 B
TypeScript
/// <reference types="node" />
|
|
import { SocketProvider } from "./provider-socket.js";
|
|
import type { Socket } from "net";
|
|
import type { Networkish } from "./network.js";
|
|
/**
|
|
* An **IpcSocketProvider** connects over an IPC socket on the host
|
|
* which provides fast access to the node, but requires the node and
|
|
* the script run on the same machine.
|
|
*/
|
|
export declare class IpcSocketProvider extends SocketProvider {
|
|
#private;
|
|
/**
|
|
* The connected socket.
|
|
*/
|
|
get socket(): Socket;
|
|
constructor(path: string, network?: Networkish);
|
|
destroy(): void;
|
|
_write(message: string): Promise<void>;
|
|
}
|
|
//# sourceMappingURL=provider-ipcsocket.d.ts.map
|