static ReliableSingleThread rstWithDelay(final int delay, final Runnable r) { ret ReliableSingleThread(r { sleep(delay); callF(r); }); } static ReliableSingleThread rstWithDelay(double seconds, Runnable r) { ret rstWithDelay(toMS_int(seconds), r); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016128 |
| Snippet name: | rstWithDelay - ReliableSingleThread with a pre-delay - TODO: reduce double-triggering |
| Eternal ID of this version: | #1016128/4 |
| Text MD5: | 2b7360d5b28d8536fd1e29e1b2e73706 |
| Author: | stefan |
| Category: | javax / threading |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-10-28 10:04:36 |
| Source code size: | 273 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1034 / 1040 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |