# sequenceAsyncResultA

### Seq.sequenceAsyncResultA

Namespace: `FsToolkit.ErrorHandling`

Function Signature:

```
Async<Result<'a, 'b>> seq -> Async<Result<'a seq, 'b seq>>
```

Note that `sequence` is the same as `traverse id`. See also [Seq.traverseAsyncResultA](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/fstoolkit.errorhandling/asyncresult/sequences/traverseasyncresulta).

This is applicative, collecting all errors.

This is the same as [sequenceResultA](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/fstoolkit.errorhandling/result/sequences/sequenceresulta) except that it uses `Async<Result<_,_>>` instead of `Result<_,_>`.

See also Scott Wlaschin's [Understanding traverse and sequence](https://fsharpforfunandprofit.com/posts/elevated-world-4/).

### Examples
