Concatenate Jobs in Hopac

58 views Asked by At

How you would become an Alt<'a> out of a Job<'a>? Or said others how one becomes one Alt<'a> from many, for example from an Alt<'a>[]? There is Job.conCollect , which returns Job<'a>, but nothing like Alt.conCollect which would return Alt<'a>

let deleteById (id: ID): Alt<ID> =
    // ... delete item ...

let deleteItems (ids: ID[]): Alt<ID[]> =
    ids
    |> Array.mapJob deleteById
0

There are 0 answers