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

9
LINES

< > BotCompany Repo | #1020795 // vmBus_query - send with possible return values; return first result

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

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

sO mapMethodLike vmBus_query(S msg, O... args) {
  O arg = vmBus_wrapArgs(args);
  try object pcallFAll_returnFirstNotNull(vm_busListeners_live(), msg, arg);
  ret pcallFAll_returnFirstNotNull(vm_busListenersByMessage_live().get(msg), msg, arg);
}

sO vmBus_query(S msg) {
  ret vmBus_query(msg, (O) null);
}

Author comment

Began life as a copy of #1017923

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1020795
Snippet name: vmBus_query - send with possible return values; return first result
Eternal ID of this version: #1020795/3
Text MD5: ff52bafbc1b47ed7cbbeaaf8d19282f7
Transpilation MD5: bfd72d18d91b23911121230cf9c1d6d5
Author: stefan
Category: javax / vm
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-01 00:37:57
Source code size: 316 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 477
Version history: 2 change(s)
Referenced in: [show references]