refactored TaskPool._map; fixed TaskPool.apply; helper functions in separate module; new exception class

This commit is contained in:
2022-02-07 17:31:43 +01:00
parent ac903d9be7
commit 4ea815be65
6 changed files with 101 additions and 53 deletions

View File

@ -24,3 +24,7 @@ class InvalidTaskID(PoolException):
class PoolStillOpen(PoolException):
pass
class NotCoroutine(PoolException):
pass