1
0
Fork 0
mirror of https://github.com/Findus23/rebound-stubs.git synced 2024-09-19 15:13:48 +02:00
rebound-stubs/rebound/interruptible_pool.pyi
2021-02-26 21:33:00 +01:00

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: ...