<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def context_processor(self, func: Callable, name: AppOrBlueprintKey=None) -> Callable: """Add a template context processor. This is designed to be used as a decorator. An example usage, .. code-block:: python @app.context_processor def update_context(context):
 return context """

        self.template_context_processors[name].append(ensure_coroutine(func))
        return func