better-all is a TypeScript library that reinvents the familiar Promise.all construct by automatically analyzing and optimizing dependency graphs between asynchronous tasks, enabling maximal parallelization without manual orchestration. It addresses a common limitation where developers must manually refactor their promise chains to achieve efficient concurrency when some tasks depend on others, which can be error-prone and hard to maintain. With an object-based API, each task is declared as an asynchronous function that can reference other task results using a magical this.$ context, allowing the library to kick off independent operations immediately and only wait for dependent results when needed. This approach increases readability, reduces boilerplate, and optimizes execution timing based on actual dependency relations rather than naive static ordering.

Features

  • Automatic dependency-aware parallel execution
  • Full TypeScript type inference
  • Object-based cooperative API
  • Debug mode with waterfall visualization
  • Auto-abort remaining tasks on failure
  • Lightweight and minimal dependencies

Project Samples

Project Activity

See All Activity >

Categories

Task Managers

License

MIT License

Follow better-all

better-all Web Site

Other Useful Business Software
Vibes don’t ship, Retool does Icon
Vibes don’t ship, Retool does

Start from a prompt and build production-ready apps on your data—with security, permissions, and compliance built in.

Vibe coding tools create cool demos, but Retool helps you build software your company can actually use. Generate internal apps that connect directly to your data—deployed in your cloud with enterprise security from day one. Build dashboards, admin panels, and workflows with granular permissions already in place. Stop prototyping and ship on a platform that actually passes security review.
Build apps that ship
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of better-all!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Task Managers

Registered

12 hours ago