Batch
Constructor:
Signature:
def __init__(self, tasks: List[LoaderTask] = list(), dispatched: bool = False) -> None: ...
Parameters:
-
tasks:
- Type
-
List[LoaderTask]
- Default
-
list()
-
dispatched:
- Type
-
bool
- Default
-
False
Methods:
-
add_task
Signature:
def add_task(self, key: Any, future: Future) -> None:...Parameters:
-
key:
- Type
-
Any
-
future:
- Type
-
Future
-
Attributes:
-
tasks:
- Type
-
List[LoaderTask]
-
dispatched:
- Type
-
bool