Skip to content

Commit

Permalink
pybricks.iodevices: Make LWP3 write awaitable.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Nov 13, 2023
1 parent 3afb40c commit efba6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybricks/iodevices.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def name(self, *args):
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.
Expand Down

0 comments on commit efba6ba

Please sign in to comment.