public function Promise::__construct in Auth0 Single Sign On 8.2
Parameters
callable $waitFn Fn that when invoked resolves the promise.:
callable $cancelFn Fn that when invoked cancels the promise.:
File
- vendor/
guzzlehttp/ promises/ src/ Promise.php, line 22
Class
- Promise
- Promises/A+ implementation that avoids recursion when possible.
Namespace
GuzzleHttp\PromiseCode
public function __construct(callable $waitFn = null, callable $cancelFn = null) {
$this->waitFn = $waitFn;
$this->cancelFn = $cancelFn;
}