Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

CacheHelper

Contains functions which allows to deal with a cache.

Functions and values

Function or valueDescription
lookup key newValueF cache
Signature: key:'?13451 -> newValueF:(unit -> '?13452) -> cache:IDictionary<'?13451,'?13452> -> '?13452
Type parameters: '?13451, '?13452 Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Looks for a key in the cache. If it is not found the newValueF function is executed and the result is stored in the cache.