original_string: private function finallyResolve(PromiseInterface $promise, callable $callable, $args)
      {
          try {
              // Since we must have blocked to get to this point, we now use
              // a blocking request to resolve things once and for all.
              $promise->resolve(\call_user_func_array($callable, $args));
          } catch (\Exception $e) {
              $promise->reject($e);
          }
      }
code: private function finallyResolve(PromiseInterface $promise, callable $callable, $args)
      {
          try {
              // Since we must have blocked to get to this point, we now use
              // a blocking request to resolve things once and for all.
              $promise->resolve(\call_user_func_array($callable, $args));
          } catch (\Exception $e) {
              $promise->reject($e);
          }
      }
code_tokens: private function finallyResolve ( PromiseInterface $ promise , callable $ callable , $ args ) { try { // Since we must have blocked to get to this point, we now use // a blocking request to resolve things once and for all. $ promise -> resolve ( \ call_user_func_array ( $ callable , $ args ) ) ; } catch ( \ Exception $ e ) { $ promise -> reject ( $ e ) ; } }
docstring: Resolve or reject a promise by invoking a callable.
  
  @param \GuzzleHttp\Promise\PromiseInterface $promise
  @param callable                             $callable
  @param array                                $args
docstring_tokens: Resolve or reject a promise by invoking a callable .