Libraryless. Click here for Pure Java version (11671L/76K).
// firstDelay = delay static FixedRateTimer dm_doEvery(long delay, Runnable r) { ret dm_ownTimer(doEvery(delay, delay, dm_rEnter(r))); } static FixedRateTimer dm_doEvery(long delay, long firstDelay, Runnable r) { ret dm_ownTimer(doEvery(delay, firstDelay, dm_rEnter(r))); } // reversed argument order for fun static FixedRateTimer dm_doEvery(double initialSeconds, double delaySeconds, Runnable r) { ret dm_ownTimer(doEvery(initialSeconds, delaySeconds, dm_rEnter(r))); } static FixedRateTimer dm_doEvery(double delaySeconds, Runnable r) { ret dm_ownTimer(doEvery(delaySeconds, dm_rEnter(r))); }
Began life as a copy of #1004683
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: | #1027275 |
Snippet name: | dm_doEvery - install a java.util.Timer |
Eternal ID of this version: | #1027275/4 |
Text MD5: | 3cddd67d8fef77c57845bf19a5d5e80d |
Transpilation MD5: | 8b0e585adcffbf59cc4c36d706b723ce |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-17 16:23:00 |
Source code size: | 622 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 431 |
Version history: | 3 change(s) |
Referenced in: | [show references] |