SNTP.offset

You're seeing just the function offset, go back to SNTP module for more information.

Specs

offset() :: {:ok, number()} | {:error, {Exception.t(), binary()}}

Returns the latest retrieved offset from the SNTP.Retriever

Examples

iex> SNTP.offset()
{:ok, 12}

iex> SNTP.offset()
{:error, {SNTP.RetrieverError, "SNTP Retriever is not started"}}