pybricks.iodevices: Make LWP3 write awaitable.

This commit is contained in:
Laurens Valk
2023-11-16 12:01:28 +01:00
parent 91bc9a5d60
commit fd61866f2b
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ class LWP3Device:
this method returns the current name.
"""
def write(self, buf: bytes) -> None:
def write(self, buf: bytes) -> MaybeAwaitable:
"""write(buf)
Sends a message to the remote hub.