From 0720380436f21db4f22b39c297c870cd95220240 Mon Sep 17 00:00:00 2001 From: PokkaKiyo <31039465+PokkaKiyo@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:06:30 +0800 Subject: [PATCH] Fix minor typo for events (#819) --- docs/userguide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/userguide.rst b/docs/userguide.rst index f569610fb..1696ca838 100644 --- a/docs/userguide.rst +++ b/docs/userguide.rst @@ -441,7 +441,7 @@ which is the event object. Then, you need to decide which events you're interest scheduler.subscribe(listener, {JobAcquired, JobReleased}) This example subscribes to the :class:`~JobAcquired` and -:class:`~JobAcquired` event types. The callback will receive an event of +:class:`~JobReleased` event types. The callback will receive an event of either type, and prints the name of the class of the received event. Asynchronous schedulers and workers support both synchronous and asynchronous callbacks,