static L mapMethodLike vmBus_queryAll(S msg, O... args) { O arg = vmBus_wrapArgs(args); new L out; for unnull (O o : vm_busListeners_live()) addIfNotNull(out, pcallF(o, msg, arg)); for unnull (O o : vm_busListenersByMessage_live().get(msg)) addIfNotNull(out, pcallF(o, msg, arg)); ret out; }
Began life as a copy of #1020795
download show line numbers debug dex old transpilations
Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, mqsvbyillbrs, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1022562 |
Snippet name: | vmBus_queryAll - send with return values; return all non-null results |
Eternal ID of this version: | #1022562/4 |
Text MD5: | 094f93a0a51a155e11cbab44405fd961 |
Author: | stefan |
Category: | javax / vm |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-22 01:14:37 |
Source code size: | 317 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 365 / 405 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022563 - dm_vmBus_queryServices #1027042 - vmBus_anyTrue - check if anybody returns true |