spatie / async

Easily run code asynchronously

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clearly document this does not support windows!

kpconnell opened this issue · comments

commented

The dependency on pcntl - https://www.php.net/manual/en/pcntl.installation.php

leaves windows out.

This does not concern the framework itself. In the README is stated:
If the required extensions (pcntl and posix) are not installed in your current PHP runtime, the Pool will automatically fallback to synchronous execution of tasks.
Nevertheless, I agree that a related hint might be useful.

commented

This does not concern the framework itself. In the README is stated:
If the required extensions (pcntl and posix) are not installed in your current PHP runtime, the Pool will automatically fallback to synchronous execution of tasks.
Nevertheless, I agree that a related hint might be useful.

Right, and exactly zero people want to use an async library synchronously. A "fallback" at runtime makes no sense. Should throw an exception "sorry we can't do what we were built to do on this platform"

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.