> 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/asyncresult/bind.md).

# bind

### AsyncResult.bind

Namespace: `FsToolkit.ErrorHandling`

Function Signature:

```fsharp
('a -> Async<Result<'b, 'c>>)
  -> Async<Result<'a, 'c>>
  -> Async<Result<'b, 'c>>
```

### Examples

Note: Many use-cases requiring `bind` operations can also be solved using [the `asyncResult` computation expression](/fstoolkit-errorhandling/fstoolkit.errorhandling/asyncresult/ce.md).

#### Example 1

Continuing from the [AsyncResult.map2 example](broken://pages/-LN5LuFJf7uqETG1DwTb#example-1) and given the function

```fsharp
let notifyFollowers : NotifyNewPostRequest -> Async<Result<unit,exn>>
```

we can notify all followers using `AsyncResult.bind` as below:

```fsharp
newPostRequestResult |> AsyncResult.bind notifyFollowers
```
