Imageflow.Job (imageflow v0.1.0) View Source

Link to this section Summary

Link to this section Types

Specs

native_ret_t() :: :ok | {:error, binary()}

Specs

t() :: %Imageflow.Job{id: term()}

Link to this section Functions

Link to this function

add_input_buffer(job, io_id, bytes)

View Source

Specs

add_input_buffer(t(), number(), binary()) :: native_ret_t()
Link to this function

add_input_file(job, io_id, path)

View Source

Specs

add_input_file(t(), number(), binary()) :: native_ret_t()
Link to this function

add_output_buffer(job, io_id)

View Source

Specs

add_output_buffer(t(), number()) :: native_ret_t()

Specs

create() :: {:ok, t()}

Specs

create!() :: t()
Link to this function

get_output_buffer(job, io_id)

View Source

Specs

get_output_buffer(t(), number()) :: {:ok, binary()} | {:error, binary()}
Link to this function

message(job, method, message)

View Source

Specs

message(t(), binary(), binary()) :: {:ok, any()} | {:error, binary()}
Link to this function

save_output_to_file(job, io_id, path)

View Source

Specs

save_output_to_file(t(), number(), binary()) :: native_ret_t()