mirror of
https://github.com/Findus23/rebound-stubs.git
synced 2024-09-19 15:13:48 +02:00
11 lines
431 B
Python
11 lines
431 B
Python
from multiprocessing.pool import Pool
|
|
from typing import Any, Optional, Callable, Iterable
|
|
|
|
|
|
class InterruptiblePool(Pool):
|
|
wait_timeout: int = ...
|
|
|
|
def __init__(self, processes: Optional[int] = ..., initializer: Optional[Callable[..., None]] = ...,
|
|
initargs: Iterable[Any] = ..., **kwargs: Any) -> None: ...
|
|
|
|
def map(self, func: Callable, iterable: Iterable, chunksize: Optional[int] = ...)->Any: ...
|