class Airbrake::RemoteSettings

def poll

Returns:
  • (self) -
def poll
  @poll ||= Thread.new do
    @block.call(@data)
    loop do
      @block.call(@data.merge!(fetch_config))
      sleep(@data.interval)
    end
  end
  self
end