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 with val followed by the contents of ctx, and update p with val if fun didn't return false. If fun returned false fail p with UNDEFINED.