PullBaseOptions
Defined in: packages/synapse-sdk/src/types.ts:676
Options shared by every form of PullOptions
Properties
Section titled “Properties”from:
PullSource
Defined in: packages/synapse-sdk/src/types.ts:678
Source provider to pull from (URL or context with getPieceUrl)
onProgress?
Section titled “onProgress?”
optionalonProgress?: (pieceCid,status) =>void
Defined in: packages/synapse-sdk/src/types.ts:682
Pull progress callback
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
pieceCid |
PieceCID |
status |
PullStatus |
Returns
Section titled “Returns”void
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/synapse-sdk/src/types.ts:680
Optional AbortSignal
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: packages/synapse-sdk/src/types.ts:684
Total time in milliseconds to wait for the pull to finish. Defaults to 2 hours.