Futu.GenServer.HeartBeat (futu v2.8.0)

Manage and send heartbeat to Futu.GenServer.TCP

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Types

Specs

server() :: GenServer.server()

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

init(server()) :: {:ok, nil}

Callback implementation for GenServer.init/1.

Link to this function

start_link(map)

Specs

start_link(%{name: server()}) :: {:ok, pid()}