Method Concurrent.Future()->apply_filter()
- Method apply_filter
protected
void
apply_filter(mixed
val
,Promise
p
,function
(mixed
,mixed
... :bool
)fun
,array
(mixed
)ctx
)- Description
Apply
fun
withval
followed by the contents ofctx
, and updatep
withval
iffun
didn't return false. Iffun
returned false, failp
with0
as result.