diff --git a/doc/source/classes/class_limbostate.rst b/doc/source/classes/class_limbostate.rst index 5ca9bcb..ab66183 100644 --- a/doc/source/classes/class_limbostate.rst +++ b/doc/source/classes/class_limbostate.rst @@ -274,7 +274,7 @@ Registers a ``handler`` to be called when ``event`` is dispatched. The handler f :: - func my_event_handler(cargo=null) -> void: + func my_event_handler(cargo=null) -> bool: Cargo is an optional parameter that can be passed to the handler. See also :ref:`dispatch`. diff --git a/doc_classes/LimboState.xml b/doc_classes/LimboState.xml index e23c437..a215d31 100644 --- a/doc_classes/LimboState.xml +++ b/doc_classes/LimboState.xml @@ -43,7 +43,7 @@ Registers a [param handler] to be called when [param event] is dispatched. The handler function should have the following signature: [codeblock] - func my_event_handler(cargo=null) -> void: + func my_event_handler(cargo=null) -> bool: [/codeblock] Cargo is an optional parameter that can be passed to the handler. See also [method dispatch].