From a4dc1908d91355e7f5cd3025f1e084c41b192241 Mon Sep 17 00:00:00 2001 From: "Tan, Wei Jie" Date: Mon, 20 Nov 2023 14:32:56 +0800 Subject: [PATCH] Fix minor typo for events --- 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,