Messag...::Delay(3pm)

πŸ“¦
version 0.117 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

πŸ’– Message::Passing::Filter::Delay πŸ’–

okay bestie, gather round, because we're looking at Message::Passing::Filter::Delay from the 3pm section of the Perl docs β€” yes it's a Perl module manual page, and yes it's lowkey iconic in the most chaotic way possible. πŸ¦‹


✨ NAME ✨

Message::Passing::Filter::Delay β€” delay messages for some time. that's it. that's the whole job. it holds your lil message back like it's waiting for the vibe to be right. πŸ’…


🌸 DESCRIPTION 🌸

So this filter takes all the incoming messages and passes them right on through with no changes whatsoever β€” zero edits, zero glow-up, the message stays exactly as it was.

however β€” and this is the whole point β€” not immediately. they are delayed. ⏳

The docs are like, you would normally never want to use this, and honestly?? fair. but it can be useful for testing occasionally, or for avoiding race conditions. so it's giving "niche queen, not everyday wear" energy. πŸ‘‘


πŸŽ€ ATTRIBUTES πŸŽ€

delay_for

A floating point number, indicating how many seconds to delay messages for. that's the dial, bestie. turn it up and your messages are late on purpose. πŸ•°οΈβœ¨


πŸ’œ METHODS πŸ’œ

consume ($msg)

This one sets up a timed callback in the event loop, which passes the message to the output β€” and deletes itself 😭 β€” once the timeout has expired.

so like, it shows up, it waits, it delivers, and then it yeets itself out of existence. main character exit, no goodbye tour. 🌈


🫢 SPONSORSHIP 🫢

This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API β€” <http://www.surevoip.co.uk/support/wiki/api_documentation>

shoutout to the sponsors, fr fr, they funded the whole vibe. πŸ’


See Message::Passing. (short king of a section, we love that for us.) πŸ’–


and that's the tea, bestie β€” this page came to you from the perl v5.32.1 docs, dated 2021-11-09, and it lives in the Messag...::Delay(3pm) corner of the manual. mwah, go delay something responsibly. πŸ’…βœ¨πŸŽ€