Skip to content

Commit

Permalink
Remove async client.idle_time().
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Sep 30, 2024
1 parent fe3c775 commit 127eb79
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pymodbus/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,6 @@ def close(self, reconnect: bool = False) -> None:
else:
self.ctx.close()

def idle_time(self) -> float:
"""Time before initiating next transaction (call **sync**).
Applications can call message functions without checking idle_time(),
this is done automatically.
"""
if self.last_frame_end is None or self.silent_interval is None:
return 0
return self.last_frame_end + self.silent_interval

def execute(self, request: ModbusRequest):
"""Execute request and get response (call **sync/async**).
Expand Down

0 comments on commit 127eb79

Please sign in to comment.