Libraryless. Click here for Pure Java version (2898L/17K).
1 | svoid dm_reloadModuleIn(double seconds) {
|
2 | O mod = dm_current_generic(); |
3 | if (mod == null) ret; |
4 | print("Reloading module in " + seconds);
|
5 | doAfter(seconds, r { dm_reloadModule(mod) });
|
6 | } |
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: | 368 / 495 |
| Referenced in: | [show references] |