* Implemented streaming during indexing * Updated file watcher to enqueue download; refactored download worker methods * Updated File Follower Server timeout
8 lines
368 B
Elixir
8 lines
368 B
Elixir
defmodule Pinchflat.MediaClient.Backends.BackendCommandRunner do
|
|
@moduledoc """
|
|
A behaviour for running CLI commands against a downloader backend
|
|
"""
|
|
|
|
@callback run(binary(), keyword(), binary()) :: {:ok, binary()} | {:error, binary(), integer()}
|
|
@callback run(binary(), keyword(), binary(), keyword()) :: {:ok, binary()} | {:error, binary(), integer()}
|
|
end
|