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

7
LINES

< > BotCompany Repo | #1019578 // dm_vmBus_onMessage_thread - execute in new thread

JavaX fragment (include)

static <A> void dm_vmBus_onMessage_thread(S msg, final VF1<A> onMessage) {
  final DynModule m = dm_current_mandatory();
  dm_ownResource(vmBus_onMessage(msg, voidfunc(O arg) {
    temp m.enter();
    callFInNewThread(onMessage, arg)
  }));
}

Author comment

Began life as a copy of #1018419

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: #1019578
Snippet name: dm_vmBus_onMessage_thread - execute in new thread
Eternal ID of this version: #1019578/6
Text MD5: eadf18e3dedf5ae7aa406fae96b53f18
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-12 20:03:09
Source code size: 248 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 263 / 313
Version history: 5 change(s)
Referenced in: [show references]