DownloadStreamOptions
DownloadStreamOptions =
DownloadOptions&object
Defined in: packages/synapse-sdk/src/types.ts:221
Streaming download options
Type Declaration
Section titled “Type Declaration”validate?
Section titled “validate?”
optionalvalidate?:boolean
Whether to validate the PieceCID of the streamed bytes. Defaults to true.
When enabled, the stream errors after the last chunk if the PieceCID doesn’t match.