run method calls asynchronously

This commit is contained in:
marios8543
2023-10-18 19:38:07 +03:00
parent 85f4604bfd
commit e4b1efc44d
3 changed files with 24 additions and 21 deletions
+1 -1
View File
@@ -133,6 +133,6 @@ class SandboxedPlugin:
async def emit_message(self, message: Dict[Any, Any]):
await self._socket.write_single_line(dumps({
"id": 0,
"id": "0",
"payload": message
}))