EventStreamPlayer vs CondVar

There really needs to be a way to use CondVar with EventStreamPlayer.

I’m trying to have a ddw-lib process where each event waits for the server to finish doing something before it goes on to the next event. The logical way to do this is to ~cond.signalAll in an OSCFunc.

But ~cond.wait fails because a ddw-lib process always runs in an EventStreamPlayer, and EventStreamPlayer doesn’t accept \wait as a yield value:

ERROR: Message 'playAndDelta' not understood.
RECEIVER:
   Symbol 'wait'

For my immediate need (a show next weekend) I will just hack it by adding Symbol:playAndDelta.

But… shouldn’t we have this generally? The particular thing I’m trying to do is quite difficult already, without having such roadblocks popping up in front of me.

EDIT: Symbol:playAndDelta wasn’t simple because there’s some shenanigans about if (deltaFromRounded.smallButNotZero) so we’re at the point of roadblocks on top of roadblocks. :laughing:

+ Symbol {
	// condvar BP support
	playAndDelta {}  // return this
	smallButNotZero { ^false }  // sigh... fine. OK.
}

hjh