Bluez.BusReady (bluez v0.1.0)

Copy Markdown View Source

A supervised gate that blocks in init/1 until the D-Bus system-bus socket exists, so the next :rest_for_one sibling (bluetoothd) never starts before dbus-daemon is listening. Stays alive afterwards as an idle GenServer so :rest_for_one re-runs it whenever dbus-daemon restarts.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])