Skip to content

Commit 7830643

Browse files
committed
renamed to flush
1 parent a77201c commit 7830643

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tkthread/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ def nosync(self, func, *args, **kwargs):
182182
"""Non-blocking, no-synchronization call"""
183183
self._thread_queue.put((func, args, kwargs, None))
184184

185-
def wait(self):
186-
"""Wait for all .nosync calls to complete"""
185+
def flush(self):
186+
"""Flush all .nosync calls"""
187187
self(int) # a basic callable to put on the queue
188188

189189
def destroy(self):

0 commit comments

Comments
 (0)