11 lines
342 B
Elixir
11 lines
342 B
Elixir
defmodule JSON.LD.DocumentLoader do
|
|
@moduledoc """
|
|
Loader used to retrieve remote documents and contexts.
|
|
|
|
as specified at <https://www.w3.org/TR/json-ld-api/#idl-def-LoadDocumentCallback>
|
|
"""
|
|
|
|
alias JSON.LD.DocumentLoader.RemoteDocument
|
|
|
|
@callback load(String.t, JSON.LD.Options.t) :: {:ok, RemoteDocument.t} | {:error, any}
|
|
end
|