Skip to content

Commit

Permalink
Remove wait_writable
Browse files Browse the repository at this point in the history
  • Loading branch information
GraysonBellamy committed Jun 8, 2024
1 parent 333ef39 commit a7c10db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/anyserial/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#
# SPDX-License-Identifier: MIT

__version__ = "0.0.7"
__version__ = "0.0.8"
2 changes: 1 addition & 1 deletion src/anyserial/posix.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def send_break(self, duration: float = 0.25) -> None:

async def _send(self, data: memoryview) -> int:
# Need to rewrite this so we don't have to create socket each time. Trio supports passing in file descriptor directly but anyio does not.
await anyio.wait_socket_writable(self.fd)
# await anyio.wait_socket_writable(self.fd)
return os.write(self.fd, data)

async def _recv(self, max_bytes: int) -> bytes:
Expand Down

0 comments on commit a7c10db

Please sign in to comment.