Overview

Namespaces

  • Baguette
    • Mastodon
      • Config
      • Entity
      • Grant
      • Service
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
  • Psr
    • Http
      • Message
  • Teto
    • Object

Classes

  • Coroutine
  • EachPromise
  • FulfilledPromise
  • Promise
  • RejectedPromise
  • TaskQueue

Interfaces

  • PromiseInterface
  • PromisorInterface
  • TaskQueueInterface

Exceptions

  • AggregateException
  • CancellationException
  • RejectionException

Functions

  • all
  • any
  • coroutine
  • each
  • each_limit
  • each_limit_all
  • exception_for
  • inspect
  • inspect_all
  • is_fulfilled
  • is_rejected
  • is_settled
  • iter_for
  • promise_for
  • queue
  • rejection_for
  • settle
  • some
  • task
  • unwrap
  • Overview
  • Namespace
  • Class

Interface TaskQueueInterface

Direct known implementers

GuzzleHttp\Promise\TaskQueue
Namespace: GuzzleHttp\Promise
Located at TaskQueueInterface.php
Methods summary
public boolean
# isEmpty( )

Returns true if the queue is empty.

Returns true if the queue is empty.

Returns

boolean
public
# add( callable $task )

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

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

Parameters

$task
public
# run( )

Execute all of the pending task in the queue.

Execute all of the pending task in the queue.

ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by ApiGen