- withFleet(n: number, task: ((instances: IpfsApi[]) => Promise<void>), overrideConfig?: Record<string, unknown>): Promise<void>
-
Parameters
-
n: number
-
task: ((instances: IpfsApi[]) => Promise<void>)
-
- (instances: IpfsApi[]): Promise<void>
-
Returns Promise<void>
-
overrideConfig: Record<string, unknown> = {}
Returns Promise<void>
Start
n
go-ipfs instances, and stop them aftertask
is done.