143 subscribers
3 photos
403 links
Leading PHP into an asynchronous future.

Event-driven concurrency framework for PHP providing cooperative multitasking.

Website: https://amphp.org
Download Telegram
Amp
trowski released amphp/pipeline v1.0.0-beta.1. https://github.com/amphp/pipeline/releases/tag/v1.0.0-beta.1
Announcing our first beta release of a new library for amphp v3, pipeline. This library provides tools for creating #async #PHP iterables (pipelines), transforming values emitted by a pipeline, and consuming pipelines concurrently!

https://github.com/amphp/pipeline/releases/tag/v1.0.0-beta.1
Futures in amphp v3 feature map(), catch(), and finally() methods to transform values, catch exceptions, and perform cleanup. Each returns a new Future. This allows you to attach a modifier to a Future returned from an API without creating a fiber to await resolution. #async #PHP