event_stub(4gx)

πŸ“¦
version 3.6 Β· 2 versions
, in alpine 3.24

🌸 NAME 🌸

event_stub β€” the Event receiver, bestie. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: event_stub connects to the event(8gx) daemon and sets itself up to receive notifications asynchronously, with the help of an extra thread. Slay. ✨

Lowkey important: no notifications are sent towards event(8gx) by this component. It’s giving receive-only energy. πŸ’…

event_stub installs one service function, "install_event_stub", and imap(8gx) uses it to register a callback function. That callback gets invoked whenever a notification is received from the event daemon. πŸŽ€

In practice, imap handles FOLDER-TOUCH, MESSAGE-FLAG and MESSAGE-EXPUNGE notifications received through this event channel. Periodt. πŸ”₯

⭐ SEE ALSO ⭐


Cute sign-off bestie: source/version is Gromox, page is event_stub(4gx) β€” and the footer date? the original didn’t give one, so I’m not making one up. πŸ’œπŸ«Ά

πŸ“¦ where this page comes from