You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/workers.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,6 @@ Note the use of [get_current_worker][textual.worker.get_current_worker] which th
176
176
177
177
#### Posting messages
178
178
179
-
Most Textual functions are not thread-safe which means you will need to use `call_from_thread` to run them from a thread worker.
179
+
Most Textual functions are not thread-safe which means you will need to use [call_from_thread][textual.app.App.call_from_thread] to run them from a thread worker.
180
180
An exception would be [post_message][textual.widget.Widget.post_message] which *is* thread-safe.
181
181
If your worker needs to make multiple updates to the UI, it is a good idea to send [custom messages](./events.md) and let the message handler update the state of the UI.
0 commit comments