Inverse match on ets?
Mon Oct 10 14:29:57 CEST 2005
Ulf Wiger (AL/EAB) wrote:
> Here's an example, but it depends a bit on how generic you want the function to be.
Thanks Ulf, but I was hoping for something a lot more general than that.
I want processes to be able to register their interest in a particular
type of message, and the messages are somewhat free-form.
I guess another way to do it, that I'll fall back on, is to have a
callback function for each process and use Erlang's compiled
pattern-matching to select the messages I'm interested in.
More information about the erlang-questions