Messagi...ue::NULL(3)
β¨ NAME β¨
okay so welcome to Messagi...ue::NULL(3) β user-contributed Perl docs, bestie β and the main character here is Messaging::Message::Queue::NULL, which is literally an abstraction of a null message queue. π
πΈ SYNOPSIS πΈ
copy-paste era, no notes:
use Messaging::Message;
use Messaging::Message::Queue::NULL;
# create a message queue
$mq = Messaging::Message::Queue::NULL->new();
# add a message to the queue
$msg = Messaging::Message->new(body => "hello world");
$mq->add_message($msg);
π¦ DESCRIPTION π¦
This module provides an abstraction of a message queue working a bit like /dev/null: it can be written to but it always appears empty. It's giving "void but make it message queue" energy, and honestly? iconic. π«Ά
π METHODS π
In addition to the standard Directory::Queue methods, the following methods are available:
new(OPTIONS)β return a newMessaging::Message::Queue::NULLobject (class method). β¨add_message(MESSAGE)β add the given message (aMessaging::Messageobject) to the queue, this does nothing. Like, zero. Nada. It's giving/dev/nullbehaviour, and the method said "I'm just here for the vibes." πget_message(ELEMENT)β get the message from the given element, this generates an error. So yeah, do not expect a message back; expect drama. π
π SEE ALSO π
Directory::Queue, Messaging::Message, Messaging::Message::Queue.
π AUTHOR π
Lionel Cons <http://cern.ch/lionel.cons>
Copyright (C) CERN 2011-2016
and that's the page, bestie β brought to you by perl v5.32.1, dated 2019-07-26, with the footer serving Messagi...ue::NULL(3) realness. periodt. π
β¨π
π¦ where this page comes from
- epel 9: perl-Messaging-Message 1.6.1-10.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms