Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TaskQueueInterface.php

function TaskQueueInterface::add

Adds a task to the queue that will be executed the next time run is called.

1 method overrides TaskQueueInterface::add()
TaskQueue::add in vendor/guzzlehttp/promises/src/TaskQueue.php
Adds a task to the queue that will be executed the next time run is called.

File

vendor/guzzlehttp/promises/src/TaskQueueInterface.php, line 18

Class

TaskQueueInterface

Namespace

GuzzleHttp\Promise

Code

public function add(callable $task) : void;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal