Tirex:...ommand(3pm)
π NAME π
Tirex::Source β bestie, it's literally a source of a job request β¨ and it's living in the Tirex:...ommand(3pm) page of the User Contributed Perl Documentation, no cap πΈ
π¦ SYNOPSIS π¦
my $source = Tirex::Source::Command->new();
$source->notify();
π DESCRIPTION π
okay so. this is the Source that does its thing with Tirex messages sent through UDP π‘ you know the vibe β messages fly across the network and this lil object is the one catching them π
π METHODS π
π« Tirex::Source::Command->new( socket => $socket )
makes you a shiny new source object for a UDP connection π«Ά hand it a socket and you're so set, periodt.
π« $source->notify($job)
sends the notify that a tile was rendered, right back to the source π¨πΌοΈ yes bestie, we're telling everyone the tile is done. iconic behavior.
π« $source->reply($msg)
sends a reply message back to this source β and the id gets filled in automatically for you, so don't even stress about it π the parameter is just a hash with the message in it π
it returns the result of the socket's send method β so that's what you get back, fr fr.
π reminder: the message you pass toreplyis a hash, and the id? auto-filled. the returns are the socketsendresult. that's the whole vibe check π
mwah π that's the page, written by the lovely perl people, shipped as perl v5.40.1, dated 2026-08-09 β go slay some tiles bestie, ily πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: tirex 0.8.0+ds-2build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms