Hey peeps,
thank you for your input, I will try these options and see how it goes.
Regards,
Peter.
On Tuesday 15 October 2024 at 10:12:15 UTC+1 Brian Candler wrote:
> On Monday 14 October 2024 at 22:57:07 UTC+1 Peter Bočan wrote:
>
> What is the recommended way of reading whatever is on the b
On Monday 14 October 2024 at 22:57:07 UTC+1 Peter Bočan wrote:
What is the recommended way of reading whatever is on the buffer and return
back without blocking?
If you just want to poll, and get whatever data is available: set a
deadline of "just after now", and read.
https://go.dev/play/p/bF