Skip to content

Commit 3f88876

Browse files
Rossb0bNicolas Hallaert
and
Nicolas Hallaert
authored
doc(./docs/stream/~): updated doc (#157)
Co-authored-by: Nicolas Hallaert <[email protected]>
1 parent 60c045c commit 3f88876

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

docs/stream/Interpersonal.md

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const consumer = new GroupConsumer({
4242
});
4343

4444
await consumer.initialize();
45+
await consumer.init();
4546

4647
const readable = Readable.from(firstConsumer[Symbol.asyncIterator]());
4748
readable.on("readable", async() => {

docs/stream/Intrapersonal.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const consumer = new Intrapersonal({
2121
});
2222

2323
await consumer.initialize();
24+
await consumer.init();
2425

2526
const readable = Readable.from(basicStream[Symbol.asyncIterator]());
2627
```

docs/stream/Stream.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ interface ConsumeOptions {
6565
## 📚 Usage
6666

6767
```ts
68-
import { Stream, RedisAdapter } from "@myunisoft/redis";
68+
import { Stream } from "@myunisoft/redis";
6969

7070
const redisStream = new Stream({
7171
streamName: "my-stream-name",
@@ -75,6 +75,7 @@ const redisStream = new Stream({
7575
});
7676

7777
await redisStream.initialize();
78+
await redisStream.init();
7879
```
7980

8081
## 📜 API

0 commit comments

Comments
 (0)