> 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.jobresult/job/zip.md).

# zip

Namespace: `FsToolkit.ErrorHandling`

Takes two jobs and returns a tuple of the pair.

## Function Signature

```fsharp
Job<'left> -> Job<'right> -> Job<('left * 'right)>
```

## Examples

### Example 1

```fsharp
let left = Job.singleton 123
let right = Job.singleton "abc"

Job.zip left right
// job { return (123, "abc") }
```

### Example 2

```fsharp
let fetchUser : UserId -> Job<User>
let fetchPost : PostId -> Job<Post>

// Job<(User * Post)>
Job.zip (fetchUser userId) (fetchPost postId)
```
