Queue implements Standard_Service, Registerable
Handles queues through WC_Action_Queue.
Tags
Interfaces, Classes and Traits
- Standard_Service
- Registerable
Table of Contents
- $wcqueue : WC_Action_Queue
- WC_Action_Queue instance.
- get_wcqueue() : WC_Action_Queue
- Get the WC_Action_Queue instance.
- process_batch_index() : void
- Listens to the queued action and dispatches indexing of a batch.
- register() : void
- Register the service.
Properties
$wcqueue
WC_Action_Queue instance.
protected
WC_Action_Queue
$wcqueue
Methods
get_wcqueue()
Get the WC_Action_Queue instance.
public
get_wcqueue() : WC_Action_Queue
Return values
WC_Action_Queue —process_batch_index()
Listens to the queued action and dispatches indexing of a batch.
public
process_batch_index(int $offset, int $limit) : void
Parameters
- $offset : int
- $limit : int
Return values
void —register()
Register the service.
public
register() : void