MR::IP...::Async(3pm)

πŸ’– MR::IProto::Connection::Async πŸ’–

okay so bestie, this is a Perl manual page β€” from the User Contributed Perl Documentation collection, no less β€” for MR::IProto::Connection::Async. It's the async girlie of the family. ✨


🌸 NAME 🌸

MR::IProto::Connection::Async β€” literally here for async communication, that's the whole vibe πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

It's used to perform asynchronous communication. That's it, that's the job. She does not wait around, she does not block, she is booked and busy. πŸ‘‘


✨ PUBLIC METHODS ✨

These are the ones you're allowed to just... call. Go off. 🫢

  • send β€” enqueues a message send. It's giving "drop it in the queue and keep it moving." πŸ’Œ For the list of arguments, go peek at _send (yes, the protected one, we'll get there).
  • set_timeout( $timeout ) β€” sets the timeout value for an existing connection. Key word: existing. Like, the connection has to already be there, bestie. ⏰

πŸ”’ PROTECTED METHODS πŸ”’

Not for public consumption, but we don't gatekeep here β€” this is the backstage pass. πŸŽ€

  • _send( $msg, $payload, $callback, $no_reply ) β€” sends a message to the server. That's the whole thing. Four args, one destiny. πŸ“¨

πŸ‘€ SEE ALSO πŸ‘€

Go be nosy, these are the friends: MR::IProto::Connection, MR::IProto::Cluster::Server. πŸ’œ


fr fr, that's the entire page. tiny page, immaculate energy. 🌈

perl v5.30.3 πŸ“ 2020-07-21 πŸŽ€ β€” and that's the sign-off, bestie, straight from the User Contributed Perl Documentation girlies. mwah. πŸ’‹βœ¨

πŸ“¦ where this page comes from