@classmethod
def map(cls, *args, **kwargs):
    """
        Map using the `.map()` implementation in the multiprocessing engine
        """
    if not cls.is_initialized:
        raise RuntimeError('Connect before calling map()')
    return cls.client.map(*args, **kwargs)
