Tai.VenueAdapters.DeltaExchange.Stream.Connection (tai v0.0.75)

Link to this section Summary

Link to this section Types

Link to this type

credential()

Specs

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

credential_id()

Specs

credential_id() :: Tai.Venue.credential_id()

Specs

stream() :: Tai.Venues.Stream.t()

Specs

venue() :: Tai.Venue.id()

Specs

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

Link to this section Functions

Link to this function

on_connect(_, state)

Callback implementation for Tai.Venues.Streams.ConnectionAdapter.on_connect/2.

Link to this function

on_disconnect(_, state)

Callback implementation for Tai.Venues.Streams.ConnectionAdapter.on_disconnect/2.

Link to this function

on_terminate(_, state)

Callback implementation for Tai.Venues.Streams.ConnectionAdapter.on_terminate/2.

Link to this function

process_name(venue)

Specs

process_name(venue()) :: atom()
Link to this function

start_link(list)

Specs

start_link(
  endpoint: String.t(),
  stream: stream(),
  credential: {credential_id(), credential()} | nil
) :: {:ok, pid()} | {:error, term()}