> 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/task/bindv.md).

# bindV

### Task.bindV

Namespace: `FsToolkit.ErrorHandling`

Like [Task.bind](/fstoolkit-errorhandling/fstoolkit.errorhandling/task/bind.md), but taking a `ValueTask<'a>` as input

Function Signature:

```fsharp
('a -> Task<'b>>) -> ValueTask<'a> -> Task<'b>
```

### Examples

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

#### Example 1

Continuing from the \[Task.map2 example]\(../task/map2.md#example-1 and given the function

```fsharp
let notifyFollowers : NotifyNewPostRequest -> Task<unit>
```

and assuming `newPostRequestResult` has type `ValueTask<NotifyNewPostRequest>`

we can notify all followers using `Task.bindV` as below:

```fsharp
newPostRequestResult |> Task.bindV notifyFollowers
```
