> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiddler.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# runWithContext

> runWithContext

<ParamField path="fn" type="() => T" required={true}>
  The function to execute within the new context.
</ParamField>

<ResponseField name="return">
  The return value of `fn`.
</ResponseField>
