View Source JSON.LD.NodeIdentifierMap (JSON-LD.ex v0.3.7)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Generate Blank Node Identifier

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

generate_blank_node_id(pid, identifier \\ nil)

View Source
@spec generate_blank_node_id(GenServer.server(), String.t() | nil) :: String.t()

Generate Blank Node Identifier

Details at https://www.w3.org/TR/json-ld-api/#generate-blank-node-identifier

@spec init(:ok) :: {:ok, map()}

Callback implementation for GenServer.init/1.

@spec start_link(keyword()) :: GenServer.on_start()
Link to this function

stop(pid, reason \\ :normal, timeout \\ :infinity)

View Source
@spec stop(GenServer.server(), atom(), timeout()) :: :ok