Skip to content

Type Alias: OptimisticUpdater<T, I> ​

OptimisticUpdater<T, I> = (record, input) => OptimisticUpdate<T> | undefined

Defined in: fate/src/types.ts:670

Compute a patch from the cached fields of an existing entity.

Type Parameters ​

T ​

T

I ​

I = never

Parameters ​

record ​

Readonly<Partial<T>>

input ​

Readonly<I>

Returns ​

OptimisticUpdate<T> | undefined

Released under the MIT License