code: def context_processor(self, func):
          
          func = to_coroutine(func)
          self.providers.append(func)
          return func
docs: Decorate a given function to use as a context processor.
  
          ::
              @app.ps.jinja2.context_processor
              def my_context():
                  return {...}