effect-io-ai

Package: @effect/platform-node
Module: NodeMultipart

NodeMultipart.persisted

Parses multipart data from a Node readable request body and persists file parts using the current FileSystem, Path, and Scope services.

Signature

declare const persisted: (source: Readable, headers: IncomingHttpHeaders) => Effect.Effect<Multipart.Persisted, Multipart.MultipartError, Scope.Scope | FileSystem.FileSystem | Path.Path>

Source

Since v4.0.0