Libraryless. Click here for Pure Java version (11448L/68K).
1 | static StefansOS_ConnectToServer snippetUpdateConnector(O... _) { |
2 | optPar bool verbose; |
3 | new StefansOS_ConnectToServer connector; |
4 | connector.onLine = voidfunc(S line) { |
5 | new Matches m; |
6 | if (startsWith(line, "snippetUpdates:", m)) { |
7 | if (verbose) print(line); |
8 | S msg = m.rest(); |
9 | vmBus_send snippetUpdate(safeUnstruct(msg)); |
10 | } |
11 | }; |
12 | connector.startWithSubs("snippetUpdates"); |
13 | ret connector; |
14 | } |
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: | 227 / 324 |
Version history: | 4 change(s) |
Referenced in: | [show references] |