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

SyncPromiseAdapter::beforeWaitprotectedWC 1.0

Execute just before starting to run promise completion.

Method of the class: SyncPromiseAdapter{}

No Hooks.

Returns

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->beforeWait( $promise ): void;
$promise(Promise) (required)
.

SyncPromiseAdapter::beforeWait() code WC 10.9.4

protected function beforeWait(Promise $promise): void {}