Function
makeUpdateService
(
key: string,
update: (service: T) => T
)
Source from the content-addressed store, hash-verified
| 111 | }) |
| 112 | |
| 113 | const makeUpdateService = <Env, I, T>( |
| 114 | key: string, |
| 115 | update: (service: T) => T |
| 116 | ): Differ.Context.Patch<Env | I, Env | I> => { |
| 117 | const o = Object.create(UpdateServiceProto) |
| 118 | o.key = key |
| 119 | o.update = update |
| 120 | return o |
| 121 | } |
| 122 | |
| 123 | type Instruction = |
| 124 | | Empty<any, any> |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…