summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api/registry.rst8
-rw-r--r--docs/narr/events.rst6
2 files changed, 8 insertions, 6 deletions
diff --git a/docs/api/registry.rst b/docs/api/registry.rst
index 42a405a32..7736cf075 100644
--- a/docs/api/registry.rst
+++ b/docs/api/registry.rst
@@ -32,10 +32,10 @@
.. method:: notify(*events)
Fire one or more events. All event subscribers to the event(s)
- will be notified. The subscribers will be called synchronously on
- the current thread. This method is often accessed as
- ``request.registry.notify`` in Pyramid applications to fire
- custom events. See :ref:`custom_events` for more information.
+ will be notified. The subscribers will be called synchronously.
+ This method is often accessed as ``request.registry.notify``
+ in Pyramid applications to fire custom events. See
+ :ref:`custom_events` for more information.
.. class:: Introspectable
diff --git a/docs/narr/events.rst b/docs/narr/events.rst
index 5004a1787..11af89ca6 100644
--- a/docs/narr/events.rst
+++ b/docs/narr/events.rst
@@ -229,5 +229,7 @@ This example view will notify all subscribers to the custom
``DocCreated`` event.
Note that when you fire an event, all subscribers are run
-synchronously on the current thread. So it's generally not a good idea
-to create event handlers that may take a long time to run.
+synchronously so it's generally not a good idea
+to create event handlers that may take a long time to run. Although
+event handlers could be used as a central place to spawn tasks on your
+own message queues.