From 80b2bc6f28d90402f74c24f89aebe91360cb2051 Mon Sep 17 00:00:00 2001 From: BenjaminDiscoVergy <40635622+BenjaminDiscoVergy@users.noreply.github.com> Date: Fri, 21 Sep 2018 11:05:12 +0200 Subject: [PATCH] race operation: changed relative timings The previous example was a bit ambigous: It could have said: The first responding observable is passed on. Or it could have said: the first incoming response is taken as first in the result. Then the second element in the result is taken from whatever observable provides its second element before all others provide their second element. --- src/data/combination-examples.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/combination-examples.js b/src/data/combination-examples.js index 2c5dabf..aa9630f 100644 --- a/src/data/combination-examples.js +++ b/src/data/combination-examples.js @@ -41,7 +41,7 @@ export const combinationExamples = { label: 'race', inputs: [ [{t:10, c:20}, {t:20, c:40}, {t:30, c:60}], - [{t:5, c:1}, {t:15, c:2}, {t:25, c:3}], + [{t:5, c:1}, {t:55, c:2}, {t:65, c:3}], [{t:20, c:0}, {t:32, c:0}, {t:44, c:0}] ], apply: function(inputs) { @@ -84,4 +84,4 @@ export const combinationExamples = { ); } }, -} \ No newline at end of file +}