Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
33 lines (22 loc) · 1.74 KB

README.md

File metadata and controls

executable file
·
33 lines (22 loc) · 1.74 KB

Queue library for WildPHP

Build Status Scrutinizer Code Quality Scrutinizer Code Coverage Latest Stable Version Latest Unstable Version Total Downloads

This library defines a simple (message) queue interface. It sends out messages in the order they came in, but at a limited rate.

Currently implemented features are:

  • Basic queue functionality
  • Callback queue items
  • Burst mode (send a batch of messages before throttling)

The default values are to send 1 message per second with a burst rate of 5 messages. This suits IRC well.

Installation

To install this library, you will need Composer.

$ composer require wildphp/queue ^0.1

Getting started

This library comes with a set of ready-to-use QueueItems, but you might want to develop your own. More on that later.

The most important classes in the library are the QueueProcessor and BaseQueue.

More documentation is TBD.

Contributors

You can see the full list of contributors in the GitHub repository.