Amp
Amp is a non-blocking concurrency framework for PHP. It provides an event loop, promises, and streams as a base for asynchronous programming.
Here are 91 public repositories matching this topic...
-
Updated
Feb 19, 2020 - PHP
Seems following option isn't available any more:
https://github.com/amphp/http-server/blob/master/docs/classes/options.md#withconnectiontimeoutint-seconds-options
Related commits:
There are no enums in PHP, but it might be useful to add constants for available string values.
For example, in sendChatAction there is a parameter action with available values:
typing, upload_photo , record_video etc.
For this values it's possible to add constants in SendChatAction class:
const TYPE_TYPING = 'typing';
const TYPE_UPLOAD_PHOTO = 'upload_photo';
.
Add documentation
There should be at least a rough overview.
-
Updated
Feb 10, 2020 - PHP
-
Updated
Jan 19, 2020 - JavaScript
-
Updated
Jan 15, 2020 - PHP
-
Updated
Jan 29, 2020 - PHP
-
Updated
Feb 17, 2020 - PHP
Add examples
We should have a few examples, a producer and a consumer at least.
Posted by: Sean
Source: http://chat.stackoverflow.com/transcript/message/44381211#44381211
A TODO list of sorts where users can add hacktoberfest-related issues to Jeeves. Running the command standalone would report back available issue(s) to work on for hacktober!
-
Updated
Jan 24, 2020 - PHP
-
Updated
Feb 3, 2020 - PHP
Add documentation
Documentation should be added, see https://github.com/amphp/amphp.github.io#setup-for-a-new-repository for a guide and have a look at other repositories for how it works.
Trying to learn Amp is difficult for someone new to coroutines and async in the context of PHP. Although I appreciate the work that has been done on the documentation so far, I still find it lacking for giving good background to the topic and its use.
For me, it has been helpful to start thinking about the "async context". It seems to me that in Amp, in order to do anything with async you must