lib/job-iteration/iteration.rb
# The adapter must be able to serialize and deserialize the cursor back into an equivalent object.
# https://github.com/mperham/sidekiq/wiki/Best-Practices#1-make-your-job-parameters-small-and-simple
The adapter must be able to serialize and deserialize the cursor back into an equivalent object.
The adapter must be able to serialize and deserialize the cursor back into an equivalent object .
def assert_valid_cursor!(cursor)
      return if serializable?(cursor)
      raise CursorError.new(
        "Cursor must be composed of objects capable of built-in (de)serialization: " \
          "Strings, Integers, Floats, Arrays, Hashes, true, false, or nil.",
        cursor: cursor,
      )
    end
def assert_valid_cursor! ( cursor ) return if serializable? ( cursor ) raise CursorError . new ( "Cursor must be composed of objects capable of built-in (de)serialization: " "Strings, Integers, Floats, Arrays, Hashes, true, false, or nil." , cursor : cursor , ) end
The adapter must be able to serialize and deserialize the cursor back into an equivalent object.
The adapter must be able to serialize and deserialize the cursor back into an equivalent object .
cursor
<not_specific>