summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2013-08-12 16:26:19 -0500
committerMichael Merickel <michael@merickel.org>2013-08-12 16:26:19 -0500
commit084f12252356879b7d4cad085d64e1f0d3679cd1 (patch)
treeb01df513fd6bd1d834e7da9bd2a5e8616b52be45 /docs/api
parent486dd8a441a17a6b88340eaf293b808c4e0c138b (diff)
parent970dfae46bb398e862f57d89c3f6efe10c45e715 (diff)
downloadpyramid-084f12252356879b7d4cad085d64e1f0d3679cd1.tar.gz
pyramid-084f12252356879b7d4cad085d64e1f0d3679cd1.tar.bz2
pyramid-084f12252356879b7d4cad085d64e1f0d3679cd1.zip
Merge branch 'master' of latteier/pyramid into pull/1079
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/registry.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/api/registry.rst b/docs/api/registry.rst
index db348495c..42a405a32 100644
--- a/docs/api/registry.rst
+++ b/docs/api/registry.rst
@@ -29,6 +29,15 @@
This attribute is often accessed as ``request.registry.introspector`` in
a typical Pyramid application.
+ .. 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.
+
+
.. class:: Introspectable
.. versionadded:: 1.3