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:
parent
d28ba0def8
commit
c779a47d01
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue