easygo icon indicating copy to clipboard operation
easygo copied to clipboard

How can one poll more than just a few conns?

Open stefan-leftclick opened this issue 6 years ago • 2 comments

If I had more than one 'conn' to poll, then how will I know which 'conn' to read from CallbackFn(), if 'conn' was not defined as global? Thanks

stefan-leftclick avatar Sep 11 '19 12:09 stefan-leftclick

I think, that's really depends on your specific problem, A code snippet will help me to figure it out.

devansh42 avatar Jul 21 '20 12:07 devansh42

Hey @stefan-leftclick usually you use closure for such things.

gobwas avatar Jul 21 '20 17:07 gobwas