Clears the environment cache.
Gets cached environments or fetches them if cache is stale.
Datalayer instance.
Authentication provider to check if user is logged in.
Force refresh even if cache is valid.
Array of available environments.
Gets current cache status.
Cache status information.
Whether the cache is currently valid
Number of cached environments
Whether a fetch operation is in progress
Date of last fetch, or null if never fetched
Refreshes environment cache when user logs in. Should be called when authentication state changes to authenticated.
Datalayer instance.
Clears environment cache when user logs out. Should be called when authentication state changes to unauthenticated.
Sets custom cache timeout.
Timeout in milliseconds.
Staticget
Caches Datalayer environments for efficient runtime creation. Singleton pattern ensures single cache instance across extension.