Skip to content

basalt / http/src / destroyStreamSource

Function: destroyStreamSource() ​

> destroyStreamSource(source, error?): void

Defined in: http/src/stream.ts:153

Releases a source nobody will read — a HEAD request, or a response the adapter is about to abandon. Never throws.

Parameters ​

source ​

StreamSource

error? ​

Error

Returns ​

void

Released under the MIT License.