From 25f4a670cb94abc669b6090fc7ca95dc1827dcee Mon Sep 17 00:00:00 2001 From: "E. Cooper" Date: Fri, 25 Oct 2024 14:40:56 -0700 Subject: [PATCH] Remaining README updates --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 67ffecd7..2e155730 100644 --- a/README.md +++ b/README.md @@ -520,7 +520,7 @@ for await (const page of feed) { case "update": case "add": case "remove": - console.log("Event:", event); + console.log("Event: ", event); // ... break; } @@ -535,7 +535,7 @@ const query = fql`Product.all().eventsOn(.price, .stock)`; const feed = client.feed(query); for await (const event of feed.flatten()) { - console.log("Event:", event); + console.log("Event: ", event); } ``` @@ -639,7 +639,7 @@ try { case "update": case "add": case "remove": - console.log("Event:", event); + console.log("Event: ", event); // ... break; } @@ -661,7 +661,7 @@ stream.start( case "update": case "add": case "remove": - console.log("Event:", event); + console.log("Event: ", event); // ... break; } @@ -684,7 +684,7 @@ const stream = await client.stream(fql`Product.all().eventSource()`); let count = 0; for await (const event of stream) { - console.log("Event:", event); + console.log("Event: ", event); // ... count++;