提交 0b381521 编写于 作者: A Aaron Patterson

documenting concurrency rules for the Fanout class

上级 644a1796
......@@ -2,6 +2,9 @@ module ActiveSupport
module Notifications
# This is a default queue implementation that ships with Notifications.
# It just pushes events to all registered log subscribers.
#
# Only one of these objects should instantiated per thread. Concurrent
# access to this class is not allowed.
class Fanout
def initialize
@subscribers = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册