Automattic\WooCommerce\Vendor\GraphQL\Executor\Promise\Adapter

SyncPromiseQueue::countpublic staticWC 1.0

Return the number of tasks in the queue.

Method of the class: SyncPromiseQueue{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = SyncPromiseQueue::count(): int;

SyncPromiseQueue::count() code WC 10.9.1

public static function count(): int
{
    return self::queue()->count();
}