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

8
LINES

< > BotCompany Repo | #1031442 // dm_requireInBackground - to break require cycles

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

Libraryless. Click here for Pure Java version (12091L/79K).

svoid dm_requireInBackground(S moduleLibID, IVF1 callback default null) {
  var me = dm_current_mandatory();
  dm_callOS inSystemQ(r {
    S mod = dm_require(moduleLibID);
    if (callback != null)
      dm_inQ(me, r { callF(callback, mod) });
  });
}

Author comment

Began life as a copy of #1021333

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031442
Snippet name: dm_requireInBackground - to break require cycles
Eternal ID of this version: #1031442/4
Text MD5: 2ac015561ce6f58fccf4524b44b290e2
Transpilation MD5: 88366b4e1e55847229e1560b4d5f23a1
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-06-12 10:23:57
Source code size: 258 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 81 / 145
Version history: 3 change(s)
Referenced in: [show references]