Class: Listen::Adapter::Polling

Inherits:
Base
  • Object
show all
Defined in:
lib/listen/adapter/polling.rb

Overview

Polling Adapter that works cross-platform and has no dependencies. This is the adapter that uses the most CPU processing power and has higher file IO than the other implementations.

Constant Summary collapse

OS_REGEXP =

match every OS

//.freeze
DEFAULTS =
{ latency: 1.0, wait_for_delay: 0.05 }.freeze

Instance Attribute Summary

Attributes inherited from Base

#config, #options

Method Summary

Methods inherited from Base

#configure, #initialize, #start, #started?, #stop, usable?

Constructor Details

This class inherits a constructor from Listen::Adapter::Base