• Connect two IPFS instances via swarm.connect

    Parameters

    • a: IpfsApi

      Initiates connection

    • b: IpfsApi

      Receives connection

    Returns Promise<void>