1 | static java.util.Timer calcOnConceptChangesInOtherProgram(fS programID, int delay, final O runnable, final bool runOnFirstTime) { |
2 | final File conceptsFile = conceptsFile(programID); |
3 | |
4 | ret doEvery_daemon(delay, 0, new Runnable { |
5 | FileStatus status = runOnFirstTime ? null : fileStatus(conceptsFile); |
6 | new SingleThread thread; |
7 | |
8 | public void run() { |
9 | FileStatus s = fileStatus(conceptsFile); |
10 | if (neq(s, status) && !thread.running()) { |
11 | status = s; |
12 | thread.go(runnable); |
13 | } |
14 | } |
15 | }); |
16 | } |
Began life as a copy of #1009268
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: | #1010525 |
Snippet name: | calcOnConceptChangesInOtherProgram |
Eternal ID of this version: | #1010525/1 |
Text MD5: | 010d550e280532e81443aa9f7df06dc7 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-19 21:44:41 |
Source code size: | 545 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 456 / 484 |
Referenced in: | [show references] |