View Source Flagsmith.Client.Poller (flagsmith_engine v0.1.0)
Link to this section Summary
Link to this section Types
Specs
environment_key() :: String.t()
Specs
identity_id() :: String.t() | non_neg_integer()
Specs
poller_identifier() :: {Flagsmith.Client.Poller, String.t()}
Link to this section Functions
Specs
get_environment(Flagsmith.Configuration.t()) :: {:ok, Flagsmith.Schemas.Environment.t()} | {:error, term()}
Specs
get_environment_flags(Flagsmith.Configuration.t()) :: {:ok, map()} | {:error, term()}
Specs
get_identity_flags(Flagsmith.Configuration.t(), identity_id(), [map()] | map()) :: {:ok, Flagsmith.Schemas.Identity.t()} | {:error, term()}
Specs
interact(Flagsmith.Configuration.t(), command :: term()) :: {:ok, term()} | {:error, term()}
Specs
start_link(Flagsmith.Configuration.t()) :: {:ok, pid()}
Specs
statem_id(environment_key()) :: poller_identifier()
Specs
via_tuple(environment_key()) :: {:via, Registry, {Flagsmith.Registry, poller_identifier()}}
Specs
whereis(environment_key()) :: :undefined | pid()