remove extra parens
This commit is contained in:
parent
3decf31c2f
commit
cf900bb95d
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user