!7 cmodule SnippetUpdates > DynPrintLog { S msg; bool sign; transient StefansOS_ConnectToServer connector; start { ownResource(connector = new StefansOS_ConnectToServer); connector.onLine = voidfunc(S line) { new Matches m; if (startsWith(line, "snippetUpdates:", m)) { S msg = m.rest(); printWithIndent("<< ", msg); logQuoted(programLog(), msg); vmBus_send('snippetUpdate, safeUnstruct(msg)); } }; connector.startWithSubs("snippetUpdates"); } }