QueueWorkerInterface
interface QueueWorkerInterface implements PluginInspectionInterface (View source)
Defines an interface for a QueueWorker plugin.
Methods
array
getPluginDefinition()
Gets the definition of the plugin implementation.
processItem(mixed $data)
Works on a single queue item.
Details
string
getPluginId()
Gets the plugin_id of the plugin instance.
array
getPluginDefinition()
Gets the definition of the plugin implementation.
processItem(mixed $data)
Works on a single queue item.