public static TM_FileStorage queue_Save_GuidanceItemsCache(this TM_FileStorage tmFileStorage)
{
// do this on a separate thread so that we don't hang the current request
if (thread_Save_GuidanceItemsCache.isNull())
{
thread_Save_GuidanceItemsCache = O2Thread.mtaThread(
()=>{
1000.sleep();
tmFileStorage.save_GuidanceItemsToCache();
thread_Save_GuidanceItemsCache = null;
});
}
return tmFileStorage;
}