Libraryless. Click here for Pure Java version (11448L/68K).
static StefansOS_ConnectToServer snippetUpdateConnector(O... _) { optPar bool verbose; new StefansOS_ConnectToServer connector; connector.onLine = voidfunc(S line) { new Matches m; if (startsWith(line, "snippetUpdates:", m)) { if (verbose) print(line); S msg = m.rest(); vmBus_send snippetUpdate(safeUnstruct(msg)); } }; connector.startWithSubs("snippetUpdates"); ret connector; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029563 |
Snippet name: | snippetUpdateConnector [sends to VM bus] |
Eternal ID of this version: | #1029563/5 |
Text MD5: | 48bf64ae0ba96edf67905c9c81a58074 |
Transpilation MD5: | ec4311d8d82ce5d3ec7800dc91957b17 |
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-15 01:16:57 |
Source code size: | 435 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 226 / 323 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |