- providerCreator<CreatorFn>(creator): ResourceCreator<"provider", "register", CreatorFn, ProviderRegisterFn<Jimpex>>
Type Parameters
- CreatorFn extends GenericCurriedFn<ProviderRegisterFn<Jimpex>>
Returns ResourceCreator<"provider", "register", CreatorFn, ProviderRegisterFn<Jimpex>>
Creates an object like a provider, but that it can also be used as a function, as it normally expose options for the resources it will configure.
Example: Registering as a common provider
Example: Registering a created provider