Bitrix API

Promise

AbstractYes

Table of Contents

Properties

$id  : string

Methods

__construct()  : mixed
catch()  : static
getResult()  : mixed
getState()  : State
onWait()  : mixed
then()  : static
wait()  : mixed

Properties

Methods

__construct()

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

catch()

public catch(callable $onRejected) : static
Parameters
$onRejected : callable
Return values
static

getResult()

public getResult() : mixed

onWait()

public abstract onWait() : mixed

then()

public then([callable|null $onFulfilled = null ][, callable|null $onRejected = null ]) : static
Parameters
$onFulfilled : callable|null = null
$onRejected : callable|null = null
Return values
static

wait()

public abstract wait() : mixed

        
On this page

Search results