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

# Other Functions

## defaultValue

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

### Function Signature

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

## defaultWith

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

### Function Signature

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

## some

Wraps the provided value in an CancellableTask<'a option>

### Function Signature

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