remove extra parens

This commit is contained in:
Khaleel Al-Adhami 2024-10-29 14:21:43 -07:00
parent 3decf31c2f
commit cf900bb95d

View File

@ -7,7 +7,7 @@ from typing import Any
async def run_in_thread(func) -> Any: async def run_in_thread(func) -> Any:
"""Run a function in a separate thread. """Run a function in a separate thread.
To not block the UI event queue, run_in_thread must be inside inside a rx.event(background=True)() decorated method. To not block the UI event queue, run_in_thread must be inside inside a rx.event(background=True) decorated method.
Args: Args:
func (callable): The non-async function to run. func (callable): The non-async function to run.