dnsjit.filter.split(3)

πŸ“¦
version 1.5.1 Β· 5 versions
, in epel 10, epel 9, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

🌸 dnsjit.filter.split β€” the manual page, but make it a vibe πŸ’…

okay bestie, so dnsjit.filter.split(3) β€” that's a section 3 library function from the dnsjit Library Functions Manual β€” is literally the friend-group filter. It's the Passthrough to other receivers in various ways situation, and honestly? it ate. 🫢


✨ NAME ✨

dnsjit.filter.split β€” passthrough to other receivers in various ways. that's it. that's the whole job. no cap. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

local filter = require("dnsjit.filter.split").new()
filter.receiver(...)
filter.receiver(...)
filter.receiver(...)
input.receiver(filter)

see how filter.receiver(...) shows up three times? that's not a typo, that's the whole point β€” you stack them up like your skincare routine. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Filter to pass objects to others in various ways. it takes the stuff coming in and hands it off to whoever else needs it β€” one of them, or all of them, your call, main character. πŸ‘‘

πŸ’œ Functions

  • Split.new() β€” Create a new Split filter. brand new baby filter, fresh out of the box. πŸŽ€
  • Split:log() β€” Return the Log object to control logging of this instance or module. it's giving eyes on everything, lowkey. πŸ‘€
  • Split:roundrobin() β€” Set the passthrough mode to round robin (default mode). this is the one you get if you don't say anything β€” the default, the moment, the standard issue. ✨
  • Split:sendall() β€” Set the passthrough mode to send to all receivers. not "pick one", not "take turns" β€” everybody gets a turn, all at once, and honestly? generous of it. 🫢
  • Split:receive() β€” Return the C functions and context for receiving objects. yes bestie, it's one of those β€” it hands you back the C-level functions and context so the receiving can actually happen. πŸ”₯
  • Split:receiver(o) β€” Set the receiver to pass objects to, this can be called multiple times to set additional receivers. this is THE one. call it once, call it twice, call it a whole bunch of times β€” every call adds another receiver to the lineup. 🌈

πŸ’– AUTHORS and CONTRIBUTORS πŸ’–

The icons who made this:

  • Jerry LundstrΓΆm (DNS-OARC)
  • TomΓ‘Ε‘ KΕ™Γ­ΕΎek (CZ.NIC)
  • Petr Ε paček (ISC)

Maintained by DNS-OARC

https://www.dns-oarc.net/

look at that lineup. legends only. πŸ‘‘


πŸ’€ BUGS πŸ’€

found something broken? got a feature request bubbling in your brain? use this:

https://codeberg.org/DNS-OARC/dnsjit/issues

got a question? need help? not me leaving you on read β€” hit up:

admin@dns-oarc.net
fr fr, don't sit on a bug. they want to hear about it. πŸ“

🌟 the cute sign-off 🌟

this was dnsjit.filter.split(3) from dnsjit version 1.5.1 β€” go forth, split those objects, and slay. periodt. πŸ’…πŸ§šπŸ’œ