Registry / utility / a5hleyrich-wp-background-processing

a5hleyrich-wp-background-processing

JSON →
library1.4.0phppackagistunverified

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

composer require a5hleyrich/wp-background-processing
INSTALL
IMPORT
SIG · A5HLEYRICH-WP-BACK
A
a5hleyrich-wp-background-processing
utilityphpv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WP_Background_Process
use WP_Background_Process;

Queues a background task and dispatches it asynchronously.

use WP_Background_Process; class My_Process extends WP_Background_Process { protected function task($item) { // Process item return false; } } $process = new My_Process(); $process->push_to_queue('data')->save()->dispatch();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
OpenAI (training)
1
Resources
a5hleyrich-wp-background-processing — pip install a5hleyrich-wp-background-processing · libregistry