Method Concurrent.Promise()->create()
- Method
create
Concurrent.Promise Concurrent.Promise(
void
|function
(function
(ValueType
:void
),function
(mixed
:void
),__unknown__
... :void
)executor
,mixed
...extra
)- Description
Creates a new promise, optionally initialised from a traditional callback driven method via
executor(success, failure, @extra)
.- See also
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise