From 6cc741938dbdab172aa50fd732c1050ef927b194 Mon Sep 17 00:00:00 2001 From: BackflipPenguin <63213817+BackflipPenguin@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:36:10 -0300 Subject: [PATCH] Update advanced_features.rst --- docs/advanced_features.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced_features.rst b/docs/advanced_features.rst index fd29d2f684..de645bd764 100644 --- a/docs/advanced_features.rst +++ b/docs/advanced_features.rst @@ -346,7 +346,7 @@ running. The third option runs an event loop in a separate thread. pubsub.run_in_thread() creates a new thread and starts the event loop. -The thread object is returned to the caller of [un_in_thread(). The +The thread object is returned to the caller of run_in_thread(). The caller can use the thread.stop() method to shut down the event loop and thread. Behind the scenes, this is simply a wrapper around get_message() that runs in a separate thread, essentially creating a tiny non-blocking