Skip to content

Commit d6ab5cc

Browse files
author
huangruixin
committedSep 5, 2024
fix(showcase): update taskflow order
Updated the taskflow order in showcase/index.html to ensure task D as conditional node.
1 parent dbe83b4 commit d6ab5cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎showcase/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ <h2>Conditional Tasking</h2>
510510
auto A = tf.emplace([](){}).name("A");
511511
auto B = tf.emplace([](){}).name("B");
512512
auto C = tf.emplace([](){}).name("C");
513-
auto D = tf.emplace([](){}).name("D");
514-
auto E = tf.emplace([](){ return rand()%3; }).name("E");
513+
auto D = tf.emplace([](){ return rand()%3; }).name("D");
514+
auto E = tf.emplace([](){}).name("E");
515515
auto F = tf.emplace([](){}).name("F");
516516

517517
A.precede(B, C); // A runs before B and C

0 commit comments

Comments
 (0)
Please sign in to comment.