1 | static java.util.Timer calcOnConceptChangesInOtherModule(fO module, int delay, final O runnable, final bool runOnFirstTime) { |
2 | ret doEvery_daemon(delay, 0, new Runnable { |
3 | long c = runOnFirstTime ? -1 : changeCount(); |
4 | new SingleThread thread; |
5 | |
6 | public void run() { |
7 | long _c = (long) call(module, 'changeCount); |
8 | if (_c != c && !thread.running()) { |
9 | c = _c; |
10 | thread.go(runnable); |
11 | } |
12 | } |
13 | }); |
14 | } |
Began life as a copy of #1007574
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009268 |
Snippet name: | calcOnConceptChangesInOtherModule |
Eternal ID of this version: | #1009268/1 |
Text MD5: | 2d8ff72d575d97599318d3a0f8202b1c |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-20 00:34:03 |
Source code size: | 452 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 514 / 534 |
Referenced in: | [show references] |