class
FilesToPrompt::ConcurrentFileFinder
- FilesToPrompt::ConcurrentFileFinder
- Reference
- Object
Overview
Concurrent file discovery using fibers and channels
Defined in:
concurrent_file_finder.crConstructors
Instance Method Summary
- #completion_channel : Channel(Array(String))
- #completion_channel=(completion_channel : Channel(Array(String)))
-
#find_files_concurrently(start_paths : Array(String), config : ProcessingConfig, app : App) : Array(String)
Find files concurrently using the worker pool
- #job_channel : Channel(DirJob)
- #job_channel=(job_channel : Channel(DirJob))
- #result_channel : Channel(FileResult)
- #result_channel=(result_channel : Channel(FileResult))
- #worker_completion_channel : Channel(Nil)
- #worker_completion_channel=(worker_completion_channel : Channel(Nil))
- #worker_count : Int32
- #worker_count=(worker_count : Int32)
Constructor Detail
Instance Method Detail
def find_files_concurrently(start_paths : Array(String), config : ProcessingConfig, app : App) : Array(String)
#
Find files concurrently using the worker pool