Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1021180 // dm_doEveryIfVisible

JavaX fragment (include)

static FixedRateTimer dm_doEveryIfVisible(double initialSeconds, double delaySeconds, final O r) {
  final DynModule m = dm_current_mandatory();
  ret doEvery(initialSeconds, delaySeconds, r {
    temp m.enter();
    if (dm_visible())
      callF(r);
  });
}

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: 243 / 261
Version history: 1 change(s)
Referenced in: [show references]