2017 © Pedro Peláez
 

library process-exit-handler

Thruster ProcessExitHandler Component

image

thruster/process-exit-handler

Thruster ProcessExitHandler Component

  • Tuesday, January 12, 2016
  • by gcds
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ProcessExitHandler Component

[Latest Version] (https://github.com/ThrusterIO/process-exit-handler/releases) [Software License] (LICENSE) [Build Status] (https://travis-ci.org/ThrusterIO/process-exit-handler) [Code Coverage] (https://scrutinizer-ci.com/g/ThrusterIO/process-exit-handler) [Quality Score] (https://scrutinizer-ci.com/g/ThrusterIO/process-exit-handler) [Total Downloads] (https://packagist.org/packages/thruster/process-exit-handler), (*1)

[Email] (mailto:team@thruster.io), (*2)

The Thruster ProcessExitHandler Component. Handles all sub-process exits, (*3)

Install

Via Composer, (*4)

``` bash $ composer require thruster/process-exit-handler, (*5)


## Usage ```php use Thruster\Component\EventLoop\EventLoop; use Thruster\Component\ProcessExitHandler\ExitHandler; use Thruster\Component\ProcessExitHandler\ExitEvent; $loop = new EventLoop(); $exitHandler = new ExitHandler($loop); $exitHandler->addHandler(function (ExitEvent $event) { // ... Handle event }); $loop->run();

Testing

bash $ composer test, (*6)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*7)

License

Please see License File for more information., (*8)

The Versions

12/01 2016

dev-master

9999999-dev https://thruster.io

Thruster ProcessExitHandler Component

  Sources   Download

MIT

The Requires

 

The Development Requires

process exit thruster process-exit-handler processexithandler

12/01 2016

1.0.0

1.0.0.0 https://thruster.io

Thruster ProcessExitHandler Component

  Sources   Download

MIT

The Requires

 

The Development Requires

process exit thruster process-exit-handler processexithandler