MCPcopy Index your code
hub / github.com/rommapp/romm / delete

Method delete

backend/handler/netplay_handler.py:40–42  ·  view source on GitHub ↗

Delete a room from Redis.

(self, room_ids: list[str])

Source from the content-addressed store, hash-verified

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."""

Callers 15

subscribeMethod · 0.80
subscribeGlobalMethod · 0.80
removeFromSelectionFunction · 0.80
requestMethod · 0.80
makeRequestMethod · 0.80
clearCacheMethod · 0.80
clearCacheForPatternMethod · 0.80
deletePlatformFunction · 0.80
removeRomsFromCollectionFunction · 0.80
deleteCollectionFunction · 0.80
deleteSmartCollectionFunction · 0.80
index.tsFile · 0.80

Calls

no outgoing calls