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

6
LINES

< > BotCompany Repo | #1030964 // dm_reloadModuleIn - reload module after a few seconds

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2898L/17K).

svoid dm_reloadModuleIn(double seconds) {
  O mod = dm_current_generic();
  if (mod == null) ret;
  print("Reloading module in " + seconds);
  doAfter(seconds, r { dm_reloadModule(mod) });
}

Author comment

Began life as a copy of #1018183

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030964
Snippet name: dm_reloadModuleIn - reload module after a few seconds
Eternal ID of this version: #1030964/1
Text MD5: 6c4e5ae257858b9d6ce4437916d765bd
Transpilation MD5: a4342732680a07a600bd20e259099bea
Author: stefan
Category: javax / dynamic modules
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-16 14:54:49
Source code size: 195 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 242
Referenced in: [show references]