Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Executes multiple tasks and throws on the first failure
allOrThrow<T>(tasks, options?): Promise<T[]>
run
concurrency
import { allOrThrow } from "tryo"; const data = await allOrThrow<string>( [ () => fetch("/a").then((r) => r.text()), () => fetch("/b").then((r) => r.text()), ], { concurrency: 2 } );