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; }