Documentation

CallbackPromise
in package
implements PromiseInterface

Callback promise.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Interfaces, Classes and Traits

PromiseInterface
Promise interface.

Table of Contents

$callback  : mixed
__construct()  : mixed
Initializes callback promise.
execute()  : mixed
Evaluates promise callback.

Properties

Methods

__construct()

Initializes callback promise.

public __construct(callable $callback) : mixed
Parameters
$callback : callable

Custom callback

Tags
throws
InvalidArgumentException
Return values
mixed

Search results