You are here

function coroutine in Auth0 Single Sign On 8.2

Parameters

callable $generatorFn:

Return value

PromiseInterface

See also

Coroutine

File

vendor/guzzlehttp/promises/src/functions.php, line 454

Namespace

GuzzleHttp\Promise

Code

function coroutine(callable $generatorFn) {
  return new Coroutine($generatorFn);
}