MobDev.Server.DevicePoller (mob_dev v0.5.6)

Copy Markdown View Source

Polls adb and simctl every 2 seconds, broadcasting device state changes via PubSub.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the current device list synchronously.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_devices()

@spec get_devices() :: [map()]

Returns the current device list synchronously.

start_link(opts \\ [])

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