回答編集履歴
1
answer
CHANGED
@@ -12,7 +12,8 @@
|
|
12
12
|
async def Main(cls):
|
13
13
|
while(True):
|
14
14
|
start = time.time()
|
15
|
-
send_d = await asyncio.Task(cls._shoot())
|
15
|
+
- send_d = await asyncio.Task(cls._shoot())
|
16
|
+
+ send_d = await cls._shoot()
|
16
17
|
- await asyncio.Task(_Send("ws://192.168.11.199:8080",send_d))
|
17
18
|
+ asyncio.create_task(_Send("ws://192.168.11.199:8080",send_d))
|
18
19
|
print("End of loop time:",time.time() - start,"[sec]")
|