working client & server

This commit is contained in:
erik-sn committed 2020-10-07 16:11:00 -04:00
1 parent cff746aa38
commit 845d4acd3a
13 files changed
+4008 -4

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
onNet("helloserver", () => {
const _source = (global as any).source;
const test = (x) => x;
console.log(`Hello from ${_source}`);
emitNet("helloclient", _source, "i got your message!");
});