PHPackages                             cspray/labrador-composite-future - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cspray/labrador-composite-future

Abandoned → [labrador-kennel/composite-future](/?search=labrador-kennel%2Fcomposite-future)Library

cspray/labrador-composite-future
================================

Compose Amp Futures and await them however you want with a type-safe CompositeFuture object.

1.3.0(3y ago)1542MITPHP

Since Feb 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/labrador-kennel/composite-future)[ Packagist](https://packagist.org/packages/cspray/labrador-composite-future)[ RSS](/packages/cspray-labrador-composite-future/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

Labrador Composite Future
=========================

[](#labrador-composite-future)

An object that represents a type-safe collection of `Amp\Future` objects and methods to act on that collection.

Installation
------------

[](#installation)

[Composer](https://getcomposer.org) is the only supported method for installing Labrador packages.

```
composer require labrador-kennel/composite-future

```

Getting Started
---------------

[](#getting-started)

The object provided by this library is intended to provide a type that can be used in type-hints to provide more information when dealing with a collection of Futures. When the `CompositeFuture` is used a return type hint you're also able to construct your code to read in a manner similar to handling a single Future. As always, the best way to get started is to look at some code!

```
