tai v0.0.56 Tai.VenueAdapters.OkEx.Stream.Connection.State

Link to this section Summary

Link to this section Types

Link to this type

channel_name()

channel_name() :: atom()
Link to this type

credential_id()

credential_id() :: Tai.Venue.credential_id()
Link to this type

product()

product() :: Tai.Venues.Product.t()
Link to this type

route()

route() :: :auth | :order_books | :optional_channels
Link to this type

t()

t() :: %Tai.VenueAdapters.OkEx.Stream.Connection.State{
  channels: [channel_name()],
  credential: {credential_id(), map()},
  heartbeat_timeout_timer: reference() | nil,
  heartbeat_timer: reference() | nil,
  products: [product()],
  routes: %{required(route()) => atom()},
  venue: venue_id()
}
Link to this type

venue_id()

venue_id() :: Tai.Venue.id()