Skip to content

Commit

Permalink
Remaining README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ecooper committed Oct 25, 2024
1 parent acba3cb commit 25f4a67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
}
```

Expand Down Expand Up @@ -639,7 +639,7 @@ try {
case "update":
case "add":
case "remove":
console.log("Event:", event);
console.log("Event: ", event);
// ...
break;
}
Expand All @@ -661,7 +661,7 @@ stream.start(
case "update":
case "add":
case "remove":
console.log("Event:", event);
console.log("Event: ", event);
// ...
break;
}
Expand All @@ -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++;

Expand Down

0 comments on commit 25f4a67

Please sign in to comment.