Start n IPFS (go-ipfs or js-ipfs based on process.env.IPFS_FLAVOR) instances, and stop them after task is done.
n
process.env.IPFS_FLAVOR
task
Number of IPFS instances to create.
Function that uses the IPFS instances.
Start
n
IPFS (go-ipfs or js-ipfs based onprocess.env.IPFS_FLAVOR
) instances, and stop them aftertask
is done.