Method: Sentry::Configuration#async

Defined in:
lib/sentry/configuration.rb

#asyncProc?

Deprecated.

It will be removed in the next major release. Please read github.com/getsentry/sentry-ruby/issues/1522 for more information

Provide an object that responds to ‘call` to send events asynchronously. E.g.: lambda { |event| Thread.new { Sentry.send_event(event) } }

Returns:

  • (Proc, nil)
[View source]

36
37
38
# File 'lib/sentry/configuration.rb', line 36

def async
  @async
end