Search results

  1. P

    NET Api - Async Await Support

    So with such code: async Task ParentProcessRequest(rq) { namedCache.AcquireLock(key); try { await ProcessRequest(rq); } finally { namedCache.ReleaseLock(key); } } async Task ProcessRequest(rq) { // some other async/await processing (write to db, etc...) } and later...
  2. P

    NET Api - Async Await Support

    Thanks again for positive info about async/await support from you. Btw we need to use distributed locks, so question is why we cant use that code in gist?
  3. P

    NET Api - Async Await Support

    If i search correctly SOSS .NET provider (4.5) does not support async/await pattern yet? I mean NamedCacheAPI nor DotNetAPI does not provide methods like: async NamedCache.RetrieveAsync(string id, bool acquireLock): Task<Object>; to be able to call it: var obj = await cache.RetrieveAsync('myid'...
Top