Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
danesparza
· 5y ago · 0 comments
Nope. I think this line indicates the work is simply queued, and the call is returned immediately:
queue = append(queue, m)
Comments
[–]
andonisus
5y ago
Yes, that is my solution which uses the queue. I mean what the author of the post was doing would block, and I offered the code as how I do it in a non-blocking way. Sorry for the confusion!