merge upstream async worker
This commit is contained in:
parent
5c8ccafd27
commit
ab80f5c5d6
@ -71,9 +71,12 @@ class AsyncTask(abc.ABC):
|
|||||||
self._ready = True
|
self._ready = True
|
||||||
|
|
||||||
if result is None:
|
if result is None:
|
||||||
return True
|
return 0
|
||||||
|
|
||||||
return result
|
if not result:
|
||||||
|
return False
|
||||||
|
|
||||||
|
return 0
|
||||||
|
|
||||||
async def setup(self) -> bool:
|
async def setup(self) -> bool:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user