Input a single value to the chain, return a single result
// Create chain linkconst 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` Copy
// Create chain linkconst 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`
Input a single value to the chain, return a single result