mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
typing
This commit is contained in:
@@ -650,7 +650,7 @@ class App(Generic[ReturnType], DOMNode):
|
|||||||
return await invoke(callback_with_args)
|
return await invoke(callback_with_args)
|
||||||
|
|
||||||
# Post the message to the main loop
|
# Post the message to the main loop
|
||||||
future: Future[Any] = asyncio.run_coroutine_threadsafe(
|
future: Future[CallThreadReturnType] = asyncio.run_coroutine_threadsafe(
|
||||||
run_callback(), loop=self._loop
|
run_callback(), loop=self._loop
|
||||||
)
|
)
|
||||||
result = future.result()
|
result = future.result()
|
||||||
|
|||||||
Reference in New Issue
Block a user