compute<Q, R> function Q is the type of the message that kicks off the computation . R is the type of the value returned. The callback argument must be a top-level function, not a closure or an instance or static method of a class.
compute<Q, R> function Q is the type of the message that kicks off the computation . R is the type of the value returned. The callback argument must be a top-level function, not a closure or an instance or static method of a class.