Libraryless. Click here for Pure Java version (2505L/16K).
sclass Stage implements Runnable { S name; bool done; O result; PersistableThrowable error; //long started, done; // timestamps //S log; IF0 code; sS _fieldOrder = "name done result"; *() {} *(S *name) {} *(S *name, IF0 *code) {} event computed; run { if (done || code == null) ret; try { result = code!; computed(); } catch print e { error = persistableThrowable(e); } finally { done = true; } } }
Began life as a copy of #1027106
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027866 |
Snippet name: | Stage - some stage in a process |
Eternal ID of this version: | #1027866/7 |
Text MD5: | f52b92d0e303c550ff10044c688b7d97 |
Transpilation MD5: | 36b67a2be4f1a48a38e594e3a1682dc4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-16 13:25:01 |
Source code size: | 510 bytes / 29 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 272 / 623 |
Version history: | 6 change(s) |
Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |