GenServer that owns the native spice_worker Port and serializes SPICE calls.
Summary
Functions
Returns a specification to start this module under a supervisor.
Loads validated kernel paths into the native worker.
Returns metadata for the currently loaded kernel set, if any.
Starts the named SPICE server process.
Returns native SPICE state data for a resolved SPICE target string.
Converts a UTC datetime to SPICE ephemeris time through the native worker.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Loads validated kernel paths into the native worker.
@spec metadata() :: {:ok, map() | nil}
Returns metadata for the currently loaded kernel set, if any.
@spec start_link(keyword()) :: GenServer.on_start()
Starts the named SPICE server process.
Returns native SPICE state data for a resolved SPICE target string.
@spec utc_to_et(DateTime.t()) :: {:ok, float()} | {:error, term()}
Converts a UTC datetime to SPICE ephemeris time through the native worker.