instance method
deserialize_arguments_if_needed
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
deserialize_arguments_if_needed()
The continuation is deserialized at the same point as the job arguments, inside perform_now, so that a cursor that fails to deserialize raises where retry_on/discard_on/rescue_from handlers can handle the error.
Source
# File activejob/lib/active_job/continuable.rb, line 79
def deserialize_arguments_if_needed
super
if continuation_serialized?
self.continuation = Continuation.new(self, @serialized_continuation)
@serialized_continuation = nil
end
end
Defined in activejob/lib/active_job/continuable.rb line 79
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::Continuable