-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(examples:streams:zip/product), fix(backend:golang:tpl): newl…
…ines, fix(runtime:funcs:stream_product): concurrently receive form both streams, fix(runtime:msg:string): json marshal method (cases with one letter in stream product example)
- Loading branch information
Showing
6 changed files
with
89 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,12 @@ | ||
import { streams } | ||
|
||
flow Main(start) (stop) { | ||
r1 Range | ||
r2 Range | ||
streams.Product<int, int> | ||
ForEach<streams.ProductResult<int, int>> { | ||
Println<streams.ProductResult<int, int>> | ||
} | ||
Wait | ||
--- | ||
:start -> [ | ||
(0 -> [r1:from, r2:from]), | ||
(3 -> [r1:to, r2:to]) | ||
] | ||
|
||
r1 -> product:first | ||
r2 -> product:second | ||
|
||
product -> forEach -> wait -> :stop | ||
r1 Range, r2 Range | ||
streams.Product<int, int> | ||
ForEach{Println}, Wait | ||
--- | ||
:start -> [(0 -> [r1:from, r2:from]), (3 -> [r1:to, r2:to])] | ||
r1 -> product:first | ||
r2 -> product:second | ||
product -> forEach -> wait -> :stop | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters