spatie / async

Easily run code asynchronously

Home Page:https://spatie.be/en/opensource/php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add warning about pcntl web-server use in README

qozle opened this issue · comments

I've been banging my head against why my functions passed to the pool are running synchronously as they are passed in. In my search, I came across spatie's other cool async-esque project, fork (still not entirely sure what the difference is between the two, but I'll just wonder about that, unless someone wants to go off-topic here). While on the git page, I noticed this line in the readme:

❗️ pcntl only works in CLI processes, not in a web context.

ah ha! Hours of cranial abuse have finally led me to an answer. If only this were put non-discretely in the async readme!

A sincere thank you to everyone who has worked on the project =)

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.