bobby/ring-sse

Assert failed: >! used not in (go ...) block

grinderrz opened this issue · 1 comments

Sadly, my recent PR was broken. It results in
Assert failed: >! used not in (go ...) block

According to Go Block Best Practices >! may not be used inside a function. But it was exactly what I was trying to do.

bobby commented

Ugh, sorry, should have looked more carefully at this. Of course, that's why I had originally used async/put!.

Yes, making send-event a macro makes sense. I'll test #6 locally (and perhaps add an integration test or two :-)