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:'?14091 -> newValueF:(unit -> '?14092) -> cache:IDictionary<'?14091,'?14092> -> '?14092
Type parameters: '?14091, '?14092 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.