flush(n)

πŸ“¦
version 9.0.3 Β· 3 versions
, in alpine 3.23, alpine 3.24, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– flush(n) β€” Tcl Built-In Commands πŸ’–

okay bestie, gather round, because this one is short but it matters. this is flush, a Tcl built-in command, and she's here to push buffered output out the door for a channel. πŸ¦‹


✨ SYNOPSIS ✨

flush channel

🌸 DESCRIPTION 🌸

so here's the tea, and I need you to hear me on this one: flush has been superceded by the chan flush command. πŸ’…

and the good news?? chan flush supports the same syntax and the same options, so like… nothing is giving you a plot twist here. it's the glow-up, not the break-up. πŸ‘‘

ngl bestie, if you're writing new code, go say hi to chan flush instead. flush is the older sibling still hanging around. 🫢

πŸ‘€ SEE ALSO πŸ‘€


and that's literally it, that's the whole page β€” she's small but she's iconic. πŸ’œ

this little legend comes to you from Tcl, version 7.5, fr fr. mwah, slay, go flush your buffers responsibly. βœ¨πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from