# visitJobs (/docs/api/functions/visitJobs)



```ts
function visitJobs(ctx, fn): void;
```

Defined in: [packages/core/src/ir.ts:237](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/ir.ts#L237)

Visit each job, recording its origin on first sight.

## Parameters [#parameters]

### ctx [#ctx]

[`ParseContext`](../interfaces/ParseContext.mdx)

### fn [#fn]

(`view`) => `void`

## Returns [#returns]

`void`


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)