tag:blogger.com,1999:blog-7318253809178612591.post507279862091004885..comments2022-12-04T22:44:47.896-08:00Comments on James Moore's code blog: Topic from scalaz-streamJMhttp://www.blogger.com/profile/07317484043295391400noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-7318253809178612591.post-59203224660104268342014-05-17T21:33:35.983-07:002014-05-17T21:33:35.983-07:00Cool, glad you find it.
In production code thoug...Cool, glad you find it. <br /><br />In production code though we won't call Thread.sleep, But rather to wrap this "warmup" start to proess as well. That can bea easily achieved via <br />Process.sleep.<br /><br />i.e. <br /><br />```<br /> (Process.sleep(100 millis) fby Process.emit("foo"))<br /> .to(t.publish).run.run<br /><br />```<br /><br />Process.sleep is overall bad idea. usually we use other primitives to really assure that we have registered before anything was published. <br />Unknownhttps://www.blogger.com/profile/08049712755670031951noreply@blogger.com