ixfx
    Preparing search index...

    Function single

    • Input a single value to the chain, return a single result

      // Create chain link
      const f = Chains.Links.flatten<string, string>(data => data.join(`-`));
      // Input a single value (an array)
      const r1 = await Chains.single(f, [ `a`, `b`, `c` ]);
      // r1 = `a-b-c`

      Type Parameters

      • In
      • Out

      Parameters

      Returns Promise<undefined | Out>