1 | static FixedRateTimer dm_doEveryIfVisible(double initialSeconds, double delaySeconds, final O r) { |
2 | final DynModule m = dm_current_mandatory(); |
3 | ret doEvery(initialSeconds, delaySeconds, r { |
4 | temp m.enter(); |
5 | if (dm_visible()) |
6 | callF(r); |
7 | }); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021180 |
Snippet name: | dm_doEveryIfVisible |
Eternal ID of this version: | #1021180/2 |
Text MD5: | ba5ce3913445ac80345db608dbb7fb83 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-02 14:15:40 |
Source code size: | 265 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 330 / 343 |
Version history: | 1 change(s) |
Referenced in: | [show references] |