human
I wrote the below code

    def startThread(target):
        return threadFactory(target=target).start()
    def limitedWorkerCreator():
        stats = team.statistics()
        if ((stats.busyWorkerCount + stats.idleWorkerCount) >= currentLimit()):
            return None
        return ThreadWorker(startThread, Queue())
    team = Team(coordinator=LockWorker(Lock(), LocalStorage()), createWorker=limitedWorkerCreator, logException=err)
    return team

What's a good function header?
assistant
#Here's a good function header.

def pool(currentLimit, threadFactory=Thread):