in reply to Re^2: real-time output from Mojolicious WebSockets?
in thread real-time output from Mojolicious WebSockets?
... but the affects were still the same in ...
:) in that one subroutine the comments says odd, we never see this output but Mojo doesn't have a "You should never see this." event, so it makes sense that sub is never executed and output is never seen ... mojo will never call it
OTOH why the buffering happens, is odd ... I'll take a closer look later
OTOH, standard way of doing this, instead of calling a sub that sleeps, Proc::Background a process that sleeps, basic technique from Watching long processes through CGI (Aug 02)
|
|---|