branch
description
branch
takes as many functions as you want as parameters and creates branches (think Git branches) with them. It returns a new function which will forward whatever arguments are passed to the different branches you created, and return an array where each item is the result of a branch function. The branches are run in parallel.
example
Last updated