Skip to content

Welshman Docs / @welshman/app / CachedLoaderOptions

Type Alias: CachedLoaderOptions<T> ​

CachedLoaderOptions<T> = object

Defined in: app/src/collection.ts:6

Type Parameters ​

T ​

T

Properties ​

indexStore ​

indexStore: ReadableWithGetter<Map<string, T>>

Defined in: app/src/collection.ts:8


load() ​

load: (key, relays) => Promise<any>

Defined in: app/src/collection.ts:9

Parameters ​

key ​

string

relays ​

string[]

Returns ​

Promise<any>


name ​

name: string

Defined in: app/src/collection.ts:7


subscribers? ​

optional subscribers: Subscriber<T>[]

Defined in: app/src/collection.ts:10