Move all examples to their own crates (#201)

This makes it much clearer which dependencies each example has.
This commit is contained in:
David Pedersen
2021-08-18 00:49:01 +02:00
committed by GitHub
parent 1ae0dee53b
commit 6c9651c14a
54 changed files with 403 additions and 185 deletions
+5
View File
@@ -0,0 +1,5 @@
var eventSource = new EventSource('sse');
eventSource.onmessage = function(event) {
console.log('Message from server ', event.data);
}