Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AsyncCacheEntry<T, I>

Data-structure used for the base implementation of an asynchronous cache.

author

Thomas Minier

Type parameters

  • T

  • I

Hierarchy

  • AsyncCacheEntry

Index

Properties

content

content: Array<T>

The cache entry's content

isComplete

isComplete: boolean

Whether the cache entry is availbale for read or not

pendingReaders

pendingReaders: Array<function>

All reads that wait for this cache entry to be committed

writerID

writerID: I

The ID of the writer that is allowed to edit the cache entry

Generated using TypeDoc