ServerUserContextProvider
A TraitsProvider keyed to traits:server. Auto-wired by the SDK when a
client-context token is configured; call setSnapshot whenever a fresh
server context is fetched.
Implements
Section titled “Implements”TraitsProvider<"traits:server">
Methods
Section titled “Methods”hasSignals()
Section titled “hasSignals()”hasSignals():
boolean
Whether any server signal is currently present.
Returns
Section titled “Returns”boolean
resolve()
Section titled “resolve()”resolve():
TraitsProviderState
Resolve the current traits:server state for evaluation.
Returns
Section titled “Returns”TraitsProviderState
Implementation of
Section titled “Implementation of”TraitsProvider.resolve
setSnapshot()
Section titled “setSnapshot()”setSnapshot(
snapshot):void
Replace the server-known snapshot (called after each client-context fetch).
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”Returns
Section titled “Returns”void