Sha256: 71035fa120711af17f6e1fc3e949fd3fd683bd03c88cbe37c040d4fa49850b94

Contents?: true

Size: 430 Bytes

Versions: 10

Compression:

Stored size: 430 Bytes

Contents

require 'sqreen/ecosystem/dispatch_table'

module Sqreen
  module Ecosystem
    module ModuleApi
      module EventListener
        private

        # XXX: callbacks need to be wrapped in order ot handle
        # perfcap, exceptions, and maybe other concerns applying
        # across the board
        def on_request_start(&cb)
          DispatchTable.add_request_start_listener.call(cb)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sqreen-1.22.0-java lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.22.0 lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.1-java lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.1 lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.0-java lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.0 lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.0.beta3-java lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.0.beta3 lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.0.beta2 lib/sqreen/ecosystem/module_api/event_listener.rb
sqreen-1.21.0.beta1 lib/sqreen/ecosystem/module_api/event_listener.rb