mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
pybricks.iodevices: Make LWP3 write awaitable.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user