NodeSocket
Constructors
fromDuplex
Added in v1.0.0
Source
Signature
declare function fromDuplex<RO>(
open: Effect<Duplex, SocketError, RO>,
options?: {
readonly openTimeout?: any;
},
): Effect<Socket, never, Exclude<RO, Scope>>;Signature
declare function makeNet(options: any): Effect<Socket, SocketError>;makeNetChannel
Added in v1.0.0
Source
Signature
declare function makeNetChannel<IE = never>(
options: NetConnectOpts,
): Channel<Chunk<Uint8Array<ArrayBufferLike>>, Chunk<any>, any, IE, void, unknown>;