Optional
maxOptional
minThe minimum number of providers for the root CID that are required for successful session creation.
The session will become usable once this many providers have been
discovered, up to maxProviders
providers will continue to be added.
Optional
onOptional
providersAn optional list of peers known to host at least the root block of the DAG that will be fetched.
If this list is omitted, or if the peers cannot supply the root or any
child blocks, a findProviders
routing query will be run to find peers
that can supply the blocks.
Optional
signal
The maximum number of providers for the root CID to be added to a session.