Download Jar. Libraryless. Click here for Pure Java version (7226L/52K).
1 | !7 |
2 | |
3 | p-exp { |
4 | time { |
5 | L<S> out = pcallFParallel( |
6 | func -> S { sleepSeconds(5); ret "hello"; }, |
7 | func -> S { sleepSeconds(5); ret "world"; }, |
8 | func -> S { print("failing"); throw fail("bla"); }); |
9 | printStruct(out); |
10 | } |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vmkkswzgqtcz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019333 |
Snippet name: | Test pcallFParallel (OK, but where is the exception print?) |
Eternal ID of this version: | #1019333/5 |
Text MD5: | f27a2dc8f782549aa77ae720a3175524 |
Transpilation MD5: | de5a9821bf82cd339c4e1550bc42db60 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-01 12:42:06 |
Source code size: | 251 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 388 / 1073 |
Version history: | 4 change(s) |
Referenced in: | [show references] |