Delete a room from Redis.
(self, room_ids: list[str])
| 38 | return await async_cache.hset(self.hash_name, room_id, json.dumps(room_data)) |
| 39 | |
| 40 | async def delete(self, room_ids: list[str]): |
| 41 | """Delete a room from Redis.""" |
| 42 | return await async_cache.hdel(self.hash_name, *room_ids) |
| 43 | |
| 44 | async def get_all(self) -> dict[str, NetplayRoom]: |
| 45 | """Get all rooms from Redis.""" |
no outgoing calls