RedisLabsModules / redismodule-rs

Rust API for Redis Modules API
BSD 3-Clause "New" or "Revised" License
269 stars 64 forks source link

Separate detached and thread safe context to be a different context #351

Open MeirShpilraien opened 1 year ago

MeirShpilraien commented 1 year ago

The main reason for this separation is that those contexts has a subset of capabilities compare to the command context. For example, it is not possible to use them to send replies. So we should split them from the command context to prevent mistakes.