Post-holiday bump
On Saturday, December 22, 2012 12:49:40 AM UTC-8, Josh Gao wrote:I'm playing around with the 2.1-RC1 iteratee library with scala 2.10.0-RC5, and am running into an an annoyance. It seems like using Concurrent.unicast prevents the termination of the JVM. I've thrown up a pretty minimal test case at https://gist.github.com/4358042. This prints out "foo\nbar\nResult: foo bar" as expected, and just hangs until the JVM is killed. Replacing the instantiation of enumerator with Enumerator("foo", "bar") terminates immediately, and removing everything but the construction of the enumerator still hangs. Is this supposed to happen?--Also, is this even the correct way to use Concurrent.unicast? The actual thing I want to use enumerators/iteratees for is a wrapper around a Java library that uses an iterator to provide data that's being streamed across the network slowly. I originally started with Enumerator.pushee, but that's tagged as deprecated (and was blowing up with a NPE when used in an identical fashion).Thanks,Josh