Verk v0.13.4 Verk.Job
The Job struct
Summary
Functions
Decode the JSON payload storing the original json as part of the struct
Decode the JSON payload storing the original json as part of the struct, raising if there is an error
Functions
Specs
decode(binary) ::
{:ok, %Verk.Job{args: term, class: term, enqueued_at: term, error_backtrace: term, error_message: term, failed_at: term, finished_at: term, jid: term, max_retry_count: term, original_json: term, queue: term, retried_at: term, retry_count: term}} |
{:error, Poison.Error.t}
Decode the JSON payload storing the original json as part of the struct.
Specs
decode!(binary) :: %Verk.Job{args: term, class: term, enqueued_at: term, error_backtrace: term, error_message: term, failed_at: term, finished_at: term, jid: term, max_retry_count: term, original_json: term, queue: term, retried_at: term, retry_count: term}
Decode the JSON payload storing the original json as part of the struct, raising if there is an error