```typescript const AppService {} const app = provide(AppService); const unsubs = unsub(AppService); collect(unsubs, () => { // ... }); ```