Function promise_for
Creates a promise for a value if the value is not a promise.
mixed |
$value |
Promise or value. |
|
PromiseInterface |
Creates a promise for a value if the value is not a promise.
mixed |
$value |
Promise or value. |
|
PromiseInterface |