Function
makeAddService
(
key: string,
service: T
)
Source from the content-addressed store, hash-verified
| 72 | }) |
| 73 | |
| 74 | const makeAddService = <Env, I, T>( |
| 75 | key: string, |
| 76 | service: T |
| 77 | ): Differ.Context.Patch<Env, Env | I> => { |
| 78 | const o = Object.create(AddServiceProto) |
| 79 | o.key = key |
| 80 | o.service = service |
| 81 | return o |
| 82 | } |
| 83 | |
| 84 | /** @internal */ |
| 85 | export interface RemoveService<in out Env, in out I> extends Differ.Context.Patch<Env, Exclude<Env, I>> { |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…