Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/czarbit/fork

A solution for running code concurrently in PHP
https://github.com/czarbit/fork

fork fork-for-contribution forked forked-repo php

Last synced: about 1 month ago
JSON representation

A solution for running code concurrently in PHP

Awesome Lists containing this project

README

        

# [fork](https://t.me/czarbit)

This package makes it easy to run PHP concurrently. Behind the scenes, concurrency is achieved by forking the main PHP process to one or more child tasks.

In this example, where we are going to call an imaginary slow API, all three closures will run at the same time.