View Source JSON.LD.DocumentLoader behaviour (JSON-LD.ex v0.3.8)
Behaviour for document loaders used to retrieve remote documents and contexts.
as specified at https://www.w3.org/TR/json-ld-api/#idl-def-LoadDocumentCallback
Summary
Callbacks
@callback load(String.t(), JSON.LD.Options.t()) :: {:ok, JSON.LD.DocumentLoader.RemoteDocument.t()} | {:error, any()}