ConfigPatch<T>Patch for a resource or process spec.
- Partial object — shallow-merge fields; use a function value to replace a field.
effectfield — a unary function(previous) => nextupdates the prior worker / supervised body; a multi-argument function value replaceseffectoutright (queue workers stay two-argument).- Full reducer —
(previous) => nextover the whole spec (see configureLayer).
modelsconfigureLayer
Source src/HyperlinkConfigure.ts:421 lines
export type type ConfigPatch<T> =
| PartialConfigPatch<T>
| ((previous: T) => T)
Patch for a resource or process spec.
- Partial object — shallow-merge fields; use a function value to replace a field.
effect field — a unary function (previous) => next updates the prior worker /
supervised body; a multi-argument function value replaces effect outright (queue workers
stay two-argument).
- Full reducer —
(previous) => next over the whole spec (see
configureLayer
).
ConfigPatch<function (type parameter) T in type ConfigPatch<T>T> = type PartialConfigPatch<T> = {
readonly [K in keyof T]?:
| PatchFieldValue<T, K>
| undefined
}
PartialConfigPatch<function (type parameter) T in type ConfigPatch<T>T> | ((previous: Tprevious: function (type parameter) T in type ConfigPatch<T>T) => function (type parameter) T in type ConfigPatch<T>T);
Referenced by 10 symbols