Wait for latest values from dependent streams in BaconJS?
问题 I have 3 streams. gradingResult and contextId depend on studentResponse . I need to fire an event and only one event (otherwise, this is trivial) when all 3 have the latest values. I've tried #combineTemplate and #sampledBy studentResponse . Unfortunately, I always see the wrong data--- gradingResult and contextId have the old values in the combined template. How can I wait for all streams to have the latest values? Code is shown below: var studentResponse = new Bacon.Bus(); var gradingResult