Pike v8.1 release 6

Method Concurrent.Future()->filter()


Method filter

this_program filter(function(mixed, mixed ... :bool) fun, mixed ... extra)

Description

Return a Future that either will by fulfilled by the fulfilled result of this Future if applying fun with the result followed by extra returns true, or will fail with UNDEFINED if it returns false.