@mocanvas/store · interface

ComputedCache

interface ComputedCache<Context, R extends UnknownRecord, Result>

The handle returned by createComputedCache.


Methods · 1

get(context: Context, id: IdOf<R>): Result | undefined

The derived value for id, or undefined if no such record exists.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.