{"id":"nazumahk/vow","name":"vow","scope":"nazumahk","platform":"roblox","description":"Vow for Roblox","version":"1.0.1","latest":"1.0.1","versions":["1.0.0","1.0.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"1a8683ae457799289909bcb4e521d5be3393093852d3c7b3eb99a4ddd8114dd5","likes":0,"downloads":0,"install":"forest install nazumahk/vow","url":"https://forest.dev/p/roblox/nazumahk/vow","files":"https://api.forest.dev/ai/package/roblox/nazumahk/vow/files","readme":"# Vow\n\nA modern, high-performance, strictly-typed Promise/A+ implementation for Luau in Roblox.\n\n## Features\n\n- **Strictly Typed**: Full `--!strict` mode compatibility, passing generic Types smoothly.\n- **Task Library Powered**: Uses Roblox's modern `task` library for optimal scheduling.\n- **Advanced Combinators**: Fully functional methods like `all`, `race`, `some`, `allSettled`, `fold`, and `each`.\n- **Cancellation Propagation**: Robust up/down tree cancellation handling.\n- **Structured Error Handling**: Includes a highly detailed `Vow.Error` type giving stack traces, structured contexts, and nested parent errors.\n\n## Installation\n\nAdd to your `wally.toml`:\n\n```toml\n[dependencies]\nVow = \"nazumahk/vow@1.0.0\"\n```\n\n## Quick Start\n\n```lua\nlocal Vow = require(path.to.Vow)\n\nlocal myVow = Vow.new(function(resolve, reject, onCancel)\n    local task = task.delay(1, function()\n        resolve(\"Async Task Complete!\")\n    end)\n    \n    onCancel(function()\n        task.cancel(task)\n    end)\nend)\n\nmyVow:andThen(function(result)\n    print(result) -- \"Async Task Complete!\"\nend):catch(function(err)\n    warn(\"Failed:\", err)\nend)\n```\n\n## Documentation\n\n- [Why Use Vow?](docs/WhyUseVow.md) -- Benefits and Case Studies\n- [Technical Architecture](docs/Architecture.md) -- Internal Design & Optimizations\n- [API Reference](docs/API.md) -- Full Method Specification\n\n## License\n\nMIT","readmeTruncated":false}