static AutoCloseable mapMethodLike dm_registerAs(S... msgs) { F0<S> f = func -> S { dm_moduleID() }; ret combineAutoCloseables(map(msgs, msg -> dm_vmBus_answerToMessage(msg, f))); }
Began life as a copy of #1020796
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1021647 |
Snippet name: | dm_registerAs - return this module on a certain message in VM bus (uses module ID) |
Eternal ID of this version: | #1021647/8 |
Text MD5: | 0ff2e42d8a6ff03a503785888a9b5611 |
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-08-16 17:17:51 |
Source code size: | 193 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 415 / 450 |
Version history: | 7 change(s) |
Referenced in: | [show references] |