Method Concurrent.Future()->apply_smart()


Method apply_smart

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

Description

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