code: async def create_task(app: web.Application,
                        coro: Coroutine,
                        *args, **kwargs
                        ) -> asyncio.Task:
      
      return await get_scheduler(app).create(coro, *args, **kwargs)
docs: Convenience function for calling `TaskScheduler.create(coro)`
  
      This will use the default `TaskScheduler` to create a new background task.
  
      Example:
  
          import asyncio
          from datetime import datetime
          from brewblox_service import scheduler, service
  
  
          async def current_time(interval):
              while True:
                  await asyncio.sleep(interval)
                  print(datetime.now())
  
  
          async def start(app):
              await scheduler.create_task(app, current_time(interval=2))
  
  
          app = service.create_app(default_name='example')
  
          scheduler.setup(app)
          app.on_startup.append(start)
  
          service.furnish(app)
          service.run(app)