Closed bessey closed 7 years ago
Per discussion on #5. Makes this possible:
lazy = BatchLoader.for(1).batch(default_value: [1]) do |nums, loader| nums.each { |num| loader.call(num, 123) } end
Changes Unknown when pulling ec944567db3b85110523a057869e8c51f9d598ec on bessey:array-syntax into on exAspArk:master.
Did the above on the now working callable branch, see #7
Per discussion on #5. Makes this possible: