View Source Tello.StatusListener (Tello v0.3.0)

Receives status update messages from Tello.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

@type init_arg() :: [
  port: :inet.port_number(),
  handler: Tello.StatusListener.Handler.t() | nil
]
@type t() :: module()

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(uid: integer(), arg: init_arg()) ::
  :ignore | {:error, any()} | {:ok, pid()}