sorbet-schema 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,10 +25,10 @@ module Parallel
25
25
  def each_with_index(array, options = T.unsafe(nil), &block); end
26
26
 
27
27
  # source://parallel//lib/parallel.rb#307
28
- def filter_map(*args, &block); end
28
+ def filter_map(*_arg0, **_arg1, &_arg2); end
29
29
 
30
30
  # source://parallel//lib/parallel.rb#303
31
- def flat_map(*args, &block); end
31
+ def flat_map(*_arg0, **_arg1, &_arg2); end
32
32
 
33
33
  # source://parallel//lib/parallel.rb#228
34
34
  def in_processes(options = T.unsafe(nil), &block); end
@@ -49,68 +49,74 @@ module Parallel
49
49
 
50
50
  # Number of processors seen by the OS, used for process scheduling
51
51
  #
52
- # source://parallel//lib/parallel.rb#345
52
+ # source://parallel//lib/parallel.rb#341
53
53
  def processor_count; end
54
54
 
55
- # source://parallel//lib/parallel.rb#350
55
+ # source://parallel//lib/parallel.rb#346
56
56
  def worker_number; end
57
57
 
58
58
  # TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
59
59
  #
60
- # source://parallel//lib/parallel.rb#355
60
+ # source://parallel//lib/parallel.rb#351
61
61
  def worker_number=(worker_num); end
62
62
 
63
63
  private
64
64
 
65
- # source://parallel//lib/parallel.rb#361
65
+ # source://parallel//lib/parallel.rb#384
66
66
  def add_progress_bar!(job_factory, options); end
67
67
 
68
- # source://parallel//lib/parallel.rb#624
68
+ # source://parallel//lib/parallel.rb#647
69
69
  def call_with_index(item, index, options, &block); end
70
70
 
71
- # source://parallel//lib/parallel.rb#556
71
+ # source://parallel//lib/parallel.rb#579
72
72
  def create_workers(job_factory, options, &block); end
73
73
 
74
74
  # options is either a Integer or a Hash with :count
75
75
  #
76
- # source://parallel//lib/parallel.rb#614
76
+ # source://parallel//lib/parallel.rb#637
77
77
  def extract_count_from_options(options); end
78
78
 
79
- # source://parallel//lib/parallel.rb#642
79
+ # source://parallel//lib/parallel.rb#665
80
80
  def instrument_finish(item, index, result, options); end
81
81
 
82
82
  # yield results in the order of the input items
83
83
  # needs to use `options` to store state between executions
84
84
  # needs to use `done` index since a nil result would also be valid
85
85
  #
86
- # source://parallel//lib/parallel.rb#651
86
+ # source://parallel//lib/parallel.rb#674
87
87
  def instrument_finish_in_order(item, index, result, options); end
88
88
 
89
- # source://parallel//lib/parallel.rb#671
89
+ # source://parallel//lib/parallel.rb#694
90
90
  def instrument_start(item, index, options); end
91
91
 
92
- # source://parallel//lib/parallel.rb#590
92
+ # source://parallel//lib/parallel.rb#357
93
+ def physical_processor_count_windows; end
94
+
95
+ # source://parallel//lib/parallel.rb#613
93
96
  def process_incoming_jobs(read, write, job_factory, options, &block); end
94
97
 
95
- # source://parallel//lib/parallel.rb#544
98
+ # source://parallel//lib/parallel.rb#567
96
99
  def replace_worker(job_factory, workers, index, options, blk); end
97
100
 
98
- # source://parallel//lib/parallel.rb#635
101
+ # source://parallel//lib/parallel.rb#378
102
+ def run(command); end
103
+
104
+ # source://parallel//lib/parallel.rb#658
99
105
  def with_instrumentation(item, index, options); end
100
106
 
101
- # source://parallel//lib/parallel.rb#386
107
+ # source://parallel//lib/parallel.rb#409
102
108
  def work_direct(job_factory, options, &block); end
103
109
 
104
- # source://parallel//lib/parallel.rb#496
110
+ # source://parallel//lib/parallel.rb#519
105
111
  def work_in_processes(job_factory, options, &blk); end
106
112
 
107
- # source://parallel//lib/parallel.rb#430
113
+ # source://parallel//lib/parallel.rb#453
108
114
  def work_in_ractors(job_factory, options); end
109
115
 
110
- # source://parallel//lib/parallel.rb#405
116
+ # source://parallel//lib/parallel.rb#428
111
117
  def work_in_threads(job_factory, options, &block); end
112
118
 
113
- # source://parallel//lib/parallel.rb#564
119
+ # source://parallel//lib/parallel.rb#587
114
120
  def worker(job_factory, options, &block); end
115
121
  end
116
122
  end