# Operators

### AsyncResultOption Infix Operators

Namespace: `FsToolkit.ErrorHandling.Operator.AsyncResultOption`

FsToolkit.ErrorHandling provides the standard infix operators for the `map` (`<!>`), `apply` (`<*>`), and `bind` (`>>=`) functions of the `Result<'T option, 'E>` type.

### Examples

#### Example 1

The [AsyncResultOption map2 example](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/fstoolkit.errorhandling/map2#example-1) can be written using operators like this:

```fsharp
open FsToolkit.ErrorHandling.Operator.AsyncResult

// Async<Result<UserTweet option, Exception>>
userTweet 
<!> (getPostById samplePostId) 
<*> (getUserById sampleUserId)
```
