> 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.icedtasks/cancellablevaluetaskoption/others.md).

# Other Functions

## defaultValue

Returns the contained value if Some, otherwise returns the provided value.

### Function Signature

```fsharp
'a -> CancellableValueTask<'a option> -> CancellableValueTask<'a>
```

## defaultWith

Returns the contained value if Some, otherwise evaluates the given function and returns the result.

### Function Signature

```fsharp
(unit -> 'a) -> CancellableValueTask<'a option> -> CancellableValueTask<'a>
```

## some

Wraps the provided value in a `CancellableValueTask<'a option>`.

### Function Signature

```fsharp
'a -> CancellableValueTask<'a option>
```
