[erlang-questions] "Cast" in gen_server et al

David Lloyd lloy0076@REDACTED
Thu Jul 10 04:13:17 CEST 2008


Hi There,

 From what I can tell, "cast(Name, Request)" means:

"Send the message to the server with name Name with the request Request 
and return Ok.".

I think one would use it to just send requests to the server if you 
didn't want to bother about receiving any response.

Hence, I would assume that it's named "cast" in the sense of "cast a 
spell at" rather than in "cast a pointer to an integer"?

DSL



More information about the erlang-questions mailing list