Suggest an editImprove this articleRefine the answer for “What does a multi-provider do?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**Multi-provider** lets you register several values under the same token: Angular does not replace the old values, it collects them into an array. **Key point:** `multi: true` adds a new value to the token instead of replacing the old one and returns everything as an array.Shown above the full answer for quick recall.Answer (EN)Image**Multi-provider** lets you register **several values under the same token**. Angular does not replace the old values, it collects them into an **array**. --- ### Example: ```ts providers: [ { provide: 'LOGGERS', useValue: 'console', multi: true }, { provide: 'LOGGERS', useValue: 'file', multi: true }, { provide: 'LOGGERS', useValue: 'cloud', multi: true } ] ``` Now, injecting `'LOGGERS'`: ```ts constructor(@Inject('LOGGERS') loggers: string[]) { console.log(loggers); // ['console', 'file', 'cloud'] } ``` --- ### When it is used: - for **settings and plugins**, where a list of handlers needs to be collected; - when several modules add their own data to the same token; - to extend the system easily without rewriting code. --- **Summary:** `multi: true` tells Angular: > "Do not replace the old value, add the new one to this token, and return everything as an array."For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.