1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Documentation: make it clearer that subscribers are not notified asynchronously, but saved for later use.

This commit is contained in:
Schnittchen 2012-06-16 14:35:55 +03:00
parent d28ba0def8
commit c779a47d01

View file

@ -33,7 +33,7 @@ module ActiveSupport
# end
#
# That code returns right away, you are just subscribing to "render" events.
# The block will be called asynchronously whenever someone instruments "render":
# The block is saved and will be called whenever someone instruments "render":
#
# ActiveSupport::Notifications.instrument("render", :extra => :information) do
# render :text => "Foo"