feat: gate_bus mask stash

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-21 17:35:28 +02:00
parent 9148dfec25
commit 11772bc29d
2 changed files with 18 additions and 0 deletions
+8
View File
@@ -33,3 +33,11 @@ class GateBus:
raise GateCancelled()
time.sleep(period)
return cls.messages.pop(sid)
@classmethod
def put_mask(cls, node_id, data):
cls.masks[str(node_id)] = data
@classmethod
def pop_mask(cls, node_id):
return cls.masks.pop(str(node_id), None)