Is there an alternative to using the private @needs_reenqueue? accessor that provides similar functionality? We're dealing with a specific scenario and are unsure if this is equivalent to checking if cursor_position is nil. Given our mix of built-in and custom enumerators, we want to make sure we can consistently apply this logic when a job-iteration job has nothing left to enumerate or nothing to enumerate at all.
Is there an alternative to using the private
@needs_reenqueue?
accessor that provides similar functionality? We're dealing with a specific scenario and are unsure if this is equivalent to checking ifcursor_position
is nil. Given our mix of built-in and custom enumerators, we want to make sure we can consistently apply this logic when a job-iteration job has nothing left to enumerate or nothing to enumerate at all.