At Sun, 30 Aug 2015 08:19:22 -0400, "David T. Pierson" wrote: > On Mon, Aug 24, 2015 at 10:45:11AM -0700, Konstantin Weitz wrote: > > I'm trying to receive messages from a place. Receiving the messages > > with `place-channel-get` works fine, but using `sync` blocks > > indefinitely. I want to use `sync` instead of `place-channel-get` to > > check multiple channels simultaneously for messages. > > Seems no one has responded to this? > > I can duplicate the behavior. It seems like a bug.
A place doubles as a pace channel, but `sync` on a place is like `place-wait`, not like `place-channel-get`. There should be a way to wrap a place and get an event that acts like `place-channel-get` --- but I don't think there is one. I'll add that. Meanwhile, I think you'll have to create an extra place channel after starting the place to get a value that works the way you want with `sync`. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.