> For the complete documentation index, see [llms.txt](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/fstoolkit.errorhandling/taskresult/lists/sequencetaskresulta.md).

# sequenceTaskResultA

### List.sequenceTaskResultA

Namespace: `FsToolkit.ErrorHandling`

Function Signature:

```
Task<Result<'a, 'b>> list -> Task<Result<'a list, 'b list>>
```

Note that `sequence` is the same as `traverse id`. See also [List.traverseTaskResultA](/fstoolkit-errorhandling/fstoolkit.errorhandling/taskresult/lists/traversetaskresulta.md).

This is applicative, collecting all errors.

This is the same as [sequenceResultA](broken://pages/-LO2tZXFrfCbmLpqbjE1) except that it uses `Task<Result<_,_>>` instead of `Result<_,_>`.

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

### Examples
