From 8d4b54dc53acc434cfba6a3432b03510dc3d2a8c Mon Sep 17 00:00:00 2001 From: Brent Roose Date: Fri, 14 Feb 2020 08:11:19 +0100 Subject: [PATCH] Update CHANGLOG and README --- CHANGELOG.md | 4 ++++ README.md | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 020f8914..0d87d4b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `async` will be documented in this file +## 1.2.0 - 2020-02-14 + +- Add ability to stop the pool early (#56) + ## 1.1.1 - 2019-12-24 - allow Symfony 5 components diff --git a/README.md b/README.md index a5b8f77c..fbae8770 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,6 @@ $pool = Pool::create(); for($i = 0; $i < 10000; $i++) { $pool->add(function() use ($i) { return rand(0, 100); - })->then(function($output) use ($pool) { // If one of them randomly picks 100, end the pool early. if ($output === 100) {