Method Concurrent.Future()->apply()


Method apply

protected void apply(mixed val, Promise p, function(mixed, __unknown__ ... :mixed) fun, array(mixed) ctx)

Description

Apply fun with val followed by the contents of ctx, and update p with the result.