Automattic\WooCommerce\Vendor\GraphQL\Executor\Promise
PromiseAdapter::convertThenable
Converts thenable of the underlying platform into Automattic\WooCommerce\Vendor\GraphQL\Executor\Promise\Promise instance.
Method of the class: PromiseAdapter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PromiseAdapter = new PromiseAdapter(); $PromiseAdapter->convertThenable( $thenable ): Promise;
- $thenable(mixed) (required)
- .
PromiseAdapter::convertThenable() PromiseAdapter::convertThenable code WC 10.8.1
public function convertThenable($thenable): Promise;