[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/promises/src/ -> Promise.php (summary)

(no description)

File Size: 278 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Promise:: (13 methods):
  __construct()
  then()
  otherwise()
  wait()
  getState()
  cancel()
  resolve()
  reject()
  settle()
  callHandler()
  waitIfPending()
  invokeWaitFn()
  invokeWaitList()


Class: Promise  - X-Ref

Promises/A+ implementation that avoids recursion when possible.

__construct(callable $waitFn = null,callable $cancelFn = null)   X-Ref

param: callable $waitFn   Fn that when invoked resolves the promise.
param: callable $cancelFn Fn that when invoked cancels the promise.

then(callable $onFulfilled = null,callable $onRejected = null)   X-Ref
No description

otherwise(callable $onRejected)   X-Ref
No description

wait($unwrap = true)   X-Ref
No description

getState()   X-Ref
No description

cancel()   X-Ref
No description

resolve($value)   X-Ref
No description

reject($reason)   X-Ref
No description

settle($state, $value)   X-Ref
No description

callHandler($index, $value, array $handler)   X-Ref
No description

waitIfPending()   X-Ref
No description

invokeWaitFn()   X-Ref
No description

invokeWaitList()   X-Ref
No description



Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1