gen_event with history buffer
Roger Lipscombe
roger@REDACTED
Wed Nov 3 16:30:51 CET 2021
On Wed, 3 Nov 2021 at 13:57, Max Lapshin <max.lapshin@REDACTED> wrote:
> As for me, I have almost no idea how to use gen_event in real life.
I wrote a thing about that:
https://blog.differentpla.net/blog/2014/11/07/erlang-sup-event/
For the original question, I'd be tempted to implement history *as a
handler*, added immediately after the gen_event starts, and then I'd
have new handlers query it for what they'd missed.
More information about the erlang-questions
mailing list