tai v0.0.18 Tai.Advisors

Link to this section Summary

Link to this section Types

Link to this type

advisor_spec()
advisor_spec() :: Tai.Advisor.spec()

Link to this type

config()
config() :: Tai.Config.t()

Link to this type

product()
product() :: Tai.Venues.Product.t()

Link to this section Functions

Link to this function

info(specs)
info([advisor_spec()]) :: [{advisor_spec(), pid()}]

Link to this function

specs(config, filters, products \\ Tai.Venues.ProductStore.all())
specs(config(), list(), [product()]) :: [advisor_spec()]

Link to this function

start(specs)
start([advisor_spec()]) ::
  {:ok, {new_started :: integer(), old_started :: integer()}}

Link to this function

stop(specs)
stop([advisor_spec()]) ::
  {:ok, {new_stopped :: integer(), old_stopped :: integer()}}