cache

suspend fun cache(flag: FeatureFlag, ttl: Duration)

Caches a flag.

Parameters

flag

The flag to cache.

ttl

The cache time to live.