i have several promises in program , need wait on all of them simulateneously before moving on. grails, found following example:
def p1 = task { 2 * 2 } def p2 = task { 4 * 4 } def p3 = task { 8 * 8 } assert [4,16,64] == waitall(p1, p2, p3) i know grails heavily relying on gpars, cannot find reference waitall anywhere in there. grails supports promiselist, cannot find in groovy or gpars either. can point me in right direction?
waitall grails specific static method promises class. internally built on gpars whenallbound method can use implementation.
Comments
Post a Comment