forked from p15670423/monkey
Agent: Add return type annotation to create_daemon_thread()
This commit is contained in:
parent
5a8c072d6a
commit
414b1cb815
|
@ -16,7 +16,7 @@ def run_worker_threads(target: Callable[..., None], args: Tuple = (), num_worker
|
|||
t.join()
|
||||
|
||||
|
||||
def create_daemon_thread(target: Callable[..., None], args: Tuple = ()):
|
||||
def create_daemon_thread(target: Callable[..., None], args: Tuple = ()) -> Thread:
|
||||
return Thread(target=target, args=args, daemon=True)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue