gen_server partial replies

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Mon Nov 24 12:56:52 CET 2003

From: "Bengt Kleberg" <Bengt.Kleberg@REDACTED>
> pass a callback function to handle_cast/3. let the worker use the 
> callback, with the partial data, while it is computing. when all is done 
> you supply a ''stop sign'' instead of the normal data.

Yes, this is a good way to do it. 



More information about the erlang-questions mailing list