2017 © Pedro Peláez
 

elgg-plugin hypeshutdown

Flushes the buffer after the response is sent allowing shutdown to continue in the background

image

hypejunction/hypeshutdown

Flushes the buffer after the response is sent allowing shutdown to continue in the background

  • Friday, April 20, 2018
  • by hypeJunction
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 108 % Grown

The README.md

hypeShutdown

API to offset code execution until system shutdown. Allows plugins to execute expensive code until after the page has been rendered in the browser., (*1)

Usage

All shutdown event handlers will be executed after the request has been sent to the browser and the buffer has been flushed., (*2)

You can either register a shutdown event handler:, (*3)

elgg_register_event_handler('shutdown', 'system', function() {
    // your long running script
});

You can also use a runtime queue:, (*4)

\hypeJunction\Shutdown\Queue::instance()->queue(function() use ($video) {
    $video->convert();
});

The Versions

20/04 2018

dev-master

9999999-dev http://hypejunction.com

Flushes the buffer after the response is sent allowing shutdown to continue in the background

  Sources   Download

GPL-2.0-only

The Requires

 

by Ismayil Khayredinov

plugin shutdown elgg

20/04 2018

1.0.3

1.0.3.0 http://hypejunction.com

Flushes the buffer after the response is sent allowing shutdown to continue in the background

  Sources   Download

GPL-2.0-only

The Requires

 

by Ismayil Khayredinov

plugin shutdown elgg

20/04 2018

1.0.2

1.0.2.0 http://hypejunction.com

Flushes the buffer after the response is sent allowing shutdown to continue in the background

  Sources   Download

GPL-2.0-only

The Requires

 

by Ismayil Khayredinov

plugin shutdown elgg

09/04 2018

1.0.1

1.0.1.0 http://hypejunction.com

Flushes the buffer after the response is sent allowing shutdown to continue in the background

  Sources   Download

GPL-2.0-only

The Requires

 

by Ismayil Khayredinov

plugin shutdown elgg

09/04 2018

1.0.0

1.0.0.0 http://hypejunction.com

Flushes the buffer after the response is sent allowing shutdown to continue in the background

  Sources   Download

GPL-2.0-only

The Requires

 

by Ismayil Khayredinov

plugin shutdown elgg