N
N
ninja op op2020-10-05 14:16:10
Redis
ninja op op, 2020-10-05 14:16:10

Random value in ioredis node.js channel name?

Each user has his own channel by type user{id} (for example: user1, user2, user3, etc.)

How can I subscribe to channels whose names begin with user?
maybe you can do something like this?

redis.subscribe('user{id}');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2020-10-05
@kur4chyt

user*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question