Combine two results into a tuple. Succeeds only if both are ok; the first err encountered is returned.
ok
err
const pair = zip(loadUser(id), loadOrder(orderId)) // ok([user, order]) or the first err Copy
const pair = zip(loadUser(id), loadOrder(orderId)) // ok([user, order]) or the first err
Combine two results into a tuple. Succeeds only if both are
ok; the firsterrencountered is returned.