Documentation

Final class Phalcon\Async\Deferred

Source on GitHub

Methods

public __construct ([unknown $cancel])

...

public __wakeup ()

...

public awaitable ()

...

public resolve ([unknown $value])

...

public fail ([Throwable $error])

...

public static value ([unknown $value])

...

public static error (Throwable $error)

...

public static combine (array $awaitables, unknown $continuation)

...

public static transform (Phalcon\Async\Awaitable $awaitable, unknown $continuation)

...