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

10
LINES

< > BotCompany Repo | #1019076 // dm_afterVisualize - works on current module

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

Libraryless. Click here for Pure Java version (11464L/75K).

1  
svoid dm_afterVisualize(Runnable r) {
2  
  DynModule m = dm_current_mandatory();
3  
  dm_ownResource(vmBus_onMessage moduleVisualized(voidfunc(O module) {
4  
    O mm = dm_resolveModule(module);
5  
    if (mm == m) {
6  
      temp m.enter();
7  
      callF(r);
8  
    }
9  
  }));
10  
}

Author comment

Began life as a copy of #1019075

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019076
Snippet name: dm_afterVisualize - works on current module
Eternal ID of this version: #1019076/5
Text MD5: 0012124bc5b035177c18352507ca9751
Transpilation MD5: f723386b45a40753c4699763884eae56
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-25 16:24:27
Source code size: 266 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 486
Version history: 4 change(s)
Referenced in: [show references]