Skip to content

Commit

Permalink
Improve method description
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed Apr 13, 2024
1 parent 3a3e03b commit f7c003f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/contracts/src/support/services/Registrar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ export default interface Registrar

/**
* Register multiple service providers
*
* **Note**: _Method skips providers that have already been registered!_
*
* @param {(ServiceProvider | ServiceProviderConstructor)[]} providers
* @param {boolean} [boot=true]
* @param {boolean} [safe=true] If true, given providers are only booted after all providers have been registered.
*
* @returns {Promise<boolean>}
*
* @async
*/
registerMultiple(providers: (ServiceProvider | ServiceProviderConstructor)[], boot?: boolean, safe?: boolean): Promise<boolean>;

Expand Down

0 comments on commit f7c003f

Please sign in to comment.