For AI agents: a documentation index is available at /llms.txt
Skip to main content

EvaluateOptions

Properties

PropertyTypeDescription
timeout?numberA timeout to wait for the script to finish evaluating, overriding any defaults. Useful for async scripts that may be longer running. Default timeout is 30 seconds, or 30000.
url?stringThe URL of the script you'd like to evaluate. This code gets wrapped in an async function so you can use return at the end as well as await and other async concepts. You can return any stringified value from this function