Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
foo
master
Action
CollectDAction
CollectDData
CollectDProcessor
FileManager
OpenFile
FileWatcher
FileData
JSONFileWatcher
Main
Processor
StringMru
MruData
SyslogData
Tcp
TypeTable
Generated using Crystal 1.14.0
2024-11-26 07:18:15 UTC
class
JSONFileWatcher
JSONFileWatcher
Reference
Object
Defined in:
json_file_watcher.cr
Constructors
.new
(file_watcher : FileWatcher, debug : Bool)
Instance Method Summary
#watch_file
(file_name : String, listener : Proc(JSON::Any, Nil))
Constructor Detail
def self.
new
(file_watcher :
FileWatcher
, debug : Bool)
#
[
View source
]
Instance Method Detail
def
watch_file
(file_name : String, listener : Proc(JSON::Any, Nil))
#
[
View source
]