Skip to content

DerivedSpec

DerivedSpec<F> = object

Defined in: packages/schema/src/resource.ts:43

Where a derived value goes and what it reads (.derived()).

F

optional into?: ((r) => Ref) | DerivedTarget

Defined in: packages/schema/src/resource.ts:45

A read-only field of the record, or a field of another resource’s record of the same key.


optional job?: string

Defined in: packages/schema/src/resource.ts:47

The job enqueued with { resource, key, value } each time the value changes.


optional reads?: string[]

Defined in: packages/schema/src/resource.ts:49

The other resources the compute function reads; their changes are captured.


optional track?: boolean

Defined in: packages/schema/src/resource.ts:51

false analyses none of its queries: only the dependencies it names and its clock count.