'Construct a new :class:`.CacheRegion`.'

def __init__(self, name=None, function_key_generator=function_key_generator, function_multi_key_generator=function_multi_key_generator, key_mangler=None, async_creation_runner=None):

    self.name = name
    self.function_key_generator = function_key_generator
    self.function_multi_key_generator = function_multi_key_generator
    if key_mangler:
        self.key_mangler = key_mangler
    else:
        self.key_mangler = None
    self._hard_invalidated = None
    self._soft_invalidated = None
    self.async_creation_runner = async_creation_runner
