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

7
LINES

< > BotCompany Repo | #1019006 // vmBus_onMessages

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

Libraryless. Click here for Pure Java version (3423L/19K).

static <A> AutoCloseable vmBus_onMessages(Cl<S> messages, Runnable r) {
  ret combineAutoCloseables(map(messages, msg -> vmBus_onMessage(msg, r)));
}

static <A> AutoCloseable vmBus_onMessages(Runnable r, S... messages) {
  ret vmBus_onMessages(asList(messages), r);
}

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: #1019006
Snippet name: vmBus_onMessages
Eternal ID of this version: #1019006/7
Text MD5: ab1d1ba14a7081a2fbdc59fddc1aed3b
Transpilation MD5: 3e77f4491aa5fb7c54bba4e8ef0a66fa
Author: stefan
Category: javax / vm
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-29 21:59:42
Source code size: 274 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 376 / 456
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019740 - dm_vmBus_onMessages
#1019741 - vmBus_onMessages_directArg
#1031790 - vmBus_onMessages_many - try to avoid this, it slows the VM bus down generally