module RubyEventStore::Flipper

Constants

DEFAULT_STREAM_PATTERN
VERSION

Public Class Methods

enable(event_store, instrumenter: ActiveSupport::Notifications, stream_pattern: DEFAULT_STREAM_PATTERN, custom_events: nil) click to toggle source
# File lib/ruby_event_store/flipper.rb, line 11
def self.enable(event_store, instrumenter: ActiveSupport::Notifications, stream_pattern: DEFAULT_STREAM_PATTERN, custom_events: nil)
  instrumenter.subscribe("feature_operation.flipper", NotificationHandler.new(event_store, stream_pattern, custom_events))
end