Skip to content

Commit

Permalink
initial_tasks -> initial_coros
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed Jan 23, 2025
1 parent 3408d63 commit a192058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fastcs/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ def __del__(self):
self._stop_scan_tasks()

async def serve(self):
await self._run_initial_tasks()
await self._run_initial_coros()
await self._start_scan_tasks()

async def _run_initial_tasks(self):
async def _run_initial_coros(self):
for coro in self._initial_coros:
await coro()

Expand Down

0 comments on commit a192058

Please sign in to comment.