> ## Documentation Index
> Fetch the complete documentation index at: https://trigger-features-scheduled-tasks.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Middleware

> This function is called before the `run` function, it allows you to wrap the run function with custom code.

<Snippet file="incomplete-docs.mdx" />
