• Start n go-ipfs instances, and stop them after task is done.

    Parameters

    • n: number

      Number of go-ipfs instances to create.

    • task: ((instances: IpfsApi[]) => Promise<void>)

      Function that uses go-ipfs instances.

        • (instances: IpfsApi[]): Promise<void>
        • Parameters

          • instances: IpfsApi[]

          Returns Promise<void>

    • overrideConfig: Record<string, unknown> = {}

      config to pass to go-ipfs

    Returns Promise<void>