Tai.VenueAdapters.Huobi.Stream.Connection.State (tai v0.0.59)
Link to this section Summary
Link to this section Types
Link to this type
channel_name()
Specs
channel_name() :: atom()
Link to this type
credential_id()
Specs
credential_id() :: Tai.Venue.credential_id()
Link to this type
last_pong()
Specs
last_pong() :: integer()
Link to this type
product()
Specs
product() :: Tai.Venues.Product.t()
Link to this type
request_id()
Specs
request_id() :: non_neg_integer()
Link to this type
route()
Specs
route() :: :order_books | :optional_channels
Specs
t() :: %Tai.VenueAdapters.Huobi.Stream.Connection.State{
channels: [channel_name()],
credential: {credential_id(), map()},
heartbeat_timeout_timer: reference() | nil,
heartbeat_timer: reference() | nil,
last_pong: pos_integer(),
next_request_id: request_id(),
products: [product()],
requests: %{optional(request_id()) => pos_integer()},
routes: %{required(route()) => atom()},
venue: venue_id()
}
Link to this type
venue_id()
Specs
venue_id() :: Tai.Venue.id()