Event:...::Glib(3pm)

πŸ’– NAME πŸ’–

Event::RPC::Loop::Glib β€” the Glib mainloop glow-up for Event::RPC, bestie πŸ’…

So this is page Event:...::Glib(3pm) from the User Contributed Perl Documentation, and it's literally just a lil module that tells Event::RPC which mainloop to run on. That's it, that's the whole gig πŸŽ€


✨ SYNOPSIS ✨

okay so here's how you actually use it, no cap:

use Event::RPC::Server;
use Event::RPC::Loop::Glib;

my $server = Event::RPC::Server->new (
    ...
    loop => Event::RPC::Loop::Glib->new(),
    ...
);

$server->start;

see that loop => line? that's the moment. that's where you slide Event::RPC::Loop::Glib->new() in and let Glib carry the whole vibe πŸ¦‹


🌸 DESCRIPTION 🌸

so like, this module implements a mainloop using Glib for the Event::RPC::Server module. ms girl Glib is the one driving the bus now, and the server is just along for the ride πŸš—πŸ’¨

it implements the interface of Event::RPC::Loop β€” so it slots in anywhere that interface is expected, iconic behaviour fr fr.

if you want the actual deets on that interface, please refer to the manpage of Event::RPC::Loop. that's where the lore lives, i'm just the messenger πŸ’œ

πŸ‘‘ AUTHORS πŸ‘‘

  • JΓΆrn Reder <joern AT zyn.de>

one author, one legend, we stan πŸ™ˆ


Copyright (C) 2005-2015 by JΓΆrn Reder <joern AT zyn.de>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

so yeah β€” free software, same terms as Perl itself, go wild, remix it, redistribute it, it's giving open source generosity πŸ’–


and that's the whole page!! short, sweet, does exactly one thing and does it slay πŸ’…

perl v5.40.1 Β· 2025-09-29 Β· Event:...::Glib(3pm) β€” mwah, thanks for reading bestie, drink some water and go write some RPC 🫢🌈⭐

πŸ“¦ where this page comes from