提交 c779a47d 编写于 作者: S Schnittchen

Documentation: make it clearer that subscribers are not notified...

Documentation: make it clearer that subscribers are not notified asynchronously, but saved for later use.
上级 d28ba0de
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册