MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / MyObserver

Class MyObserver

packages/core/src/__tests__/unit/component.unit.ts:210–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209 it('binds life cycle observers from component', () => {
210 class MyObserver implements LifeCycleObserver {
211 async start() {}
212 async stop() {}
213 }
214
215 const component: Component = {
216 lifeCycleObservers: [MyObserver],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected