public function isReady()Inherited
Is this future's process complete? Specifically, can this future be resolved without blocking?
| bool | If true, the external process is complete and resolving this future will not block. |
public function resolve()Inherited
Resolve a future and return its result, blocking until the result is ready if necessary.
| wild | Future result. |
final public function updateFuture()Inherited
| wild |
private function startServiceProfiler()Inherited
| wild |
private function endServiceProfiler()Inherited
| wild |
protected function getServiceProfilerStartParameters()Inherited
| wild |
protected function getServiceProfilerResultParameters()Inherited
| wild |
public function getReadSockets()Inherited
Retrieve a list of sockets which we can wait to become readable while a future is resolving. If your future has sockets which can be select()ed, return them here (or in getWriteSockets()) to make the resolve loop do a select(). If you do not return sockets in either case, you'll get a busy wait.
| list | A list of sockets which we expect to become readable. |
public function getWriteSockets()Inherited
Retrieve a list of sockets which we can wait to become writable while a future is resolving. See getReadSockets().
| list | A list of sockets which we expect to become writable. |
public function getDefaultWait()Inherited
Default amount of time to wait on stream select for this future. Normally 1 second is fine, but if the future has a timeout sooner than that it should return the amount of time left before the timeout.
| wild |
public function start()Inherited
| wild |
final protected function getResult()Inherited
Retrieve the final result of the future.
| wild | Final resolution of this future. |
final protected function setResult($result)Inherited
| $result |
| wild |
final public function hasResult()Inherited
| wild |
private function setException($exception)Inherited
| $exception |
| wild |
private function getException()Inherited
| wild |
final public function hasException()Inherited
| wild |
final public function setFutureKey($key)Inherited
| $key |
| wild |
final public function getFutureKey()Inherited
| wild |
final public function setRaiseExceptionOnStart($raise)Inherited
| $raise |
| wild |
final public function getHasFutureStarted()Inherited
| wild |
final public function canResolve()Inherited
| wild |
private function endFuture()Inherited
| wild |
public function __construct($uri, $data)
| Future | $proxied |
| this | //Implicit.// |
public function setProxiedFuture($proxied)Inherited
| Future | $proxied |
| wild |
protected function getProxiedFuture()
| wild |
protected function didReceiveResult($result)
| $result |
| wild |
protected function didReceiveException($exception)Inherited
| $exception |
| wild |
public function setCallbackURI($callback_uri)
| $callback_uri |
| wild |
public function setTimestamp($timestamp)
| $timestamp |
| wild |
public function setNonce($nonce)
| $nonce |
| wild |
public function setTokenSecret($token_secret)
| $token_secret |
| wild |
public function setToken($token)
| $token |
| wild |
public function setPrivateKey($private_key)
| PhutilOpaqueEnvelope | $private_key |
| wild |
public function setSignatureMethod($signature_method)
| $signature_method |
| wild |
public function setConsumerKey($consumer_key)
| $consumer_key |
| wild |
public function setConsumerSecret($consumer_secret)
| PhutilOpaqueEnvelope | $consumer_secret |
| wild |
public function setMethod($method)
| $method |
| wild |
public function setTimeout($timeout)
| $timeout |
| wild |
public function getTimeout()
| wild |
public function getSignature()
| wild |
public function addHeader($name, $value)
| $name | ||
| $value |
| wild |
private function getOAuth1Headers()
| wild |
private function sign($params)
| array | $params |
| wild |
private function signString($string)
| $string |
| wild |
public function resolvex()
| wild |
public function resolveJSON()
| wild |