Method Concurrent.Future()->transform_with()
- Method transform_with
this_program
transform_with(function
(mixed
,mixed
... :Future
)success
,function
(mixed
,mixed
... :Future
)|void
failure
,mixed
...extra
)- Description
Return a Future that will be fulfilled with either the fulfilled result of applying
success
with the fulfilled result followed byextra
, or the fulfilled result of applyingfailure
with the failed result followed byextra
.failure
defaults tosuccess
.- See also