View Source NervesTime.Waiter (nerves_time v0.4.8)

Waits for NervesTime.SystemTime to successfully set a sane real time.

By default that time is fetched completely async, but this waiter can be configured using config :nerves_time, await_initialization_timeout: timeout to block startup for the configured duration. If the timeout elapses there's still no guarantee for a sane real time being set. Setting the timeout to :infinity will however block until that happens.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(keyword()) :: GenServer.on_start()