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

AmpFutureAdapter::convertThenablepublicWC 1.0

Method of the class: AmpFutureAdapter{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AmpFutureAdapter = new AmpFutureAdapter();
$AmpFutureAdapter->convertThenable( $thenable ): Promise;
$thenable(required)
.

AmpFutureAdapter::convertThenable() code WC 10.9.1

public function convertThenable($thenable): Promise
{
    return new Promise($thenable, $this);
}