Hydra is a lightweight Swift library for structuring asynchronous code around strongly typed promises. It lets developers chain dependent operations while handling completion and errors through unified flows instead of nested callbacks. Its async and await helpers allow asynchronous tasks to be written in a more sequential style. Promises can be cancelled through invalidation tokens and executed on configurable Grand Central Dispatch queues. Operators include timeout, retry, recover, validate, map, zip, all, any, defer, pass, and always. Hydra supports Apple platforms and Linux and can be integrated through common Swift dependency-management systems.

Features

  • Strongly typed Swift promises
  • Promise chaining and unified error handling
  • Async and await-style execution
  • Cancellable promise support
  • Retry, timeout, recovery, and validation operators
  • Parallel all, any, map, and zip operations

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Hydra

Hydra Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Hydra!

Additional Project Details

Programming Language

Swift

Related Categories

Swift Libraries

Registered

14 hours ago