UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

8 lines (7 loc) • 426 B
import type { IncomingMessage, ServerResponse } from "node:http"; /** Node's fetch Request does not always abort when a completed upload's peer * disconnects before response headers. Observe the response socket as well. */ export declare function bindProxyClientCancellation(request: Request, bindings: { incoming?: IncomingMessage; outgoing?: ServerResponse; } | undefined, controller: AbortController): () => void;