The spec now supplies the bound domain to a provider's initialize function, and adds an opt-in domain-scoped provider declaration that the API enforces by binding such a provider to at most one domain. The conceptual docs should cover this so provider authors and users understand it.
What needs to happen
- Document that
initialize can receive the bound domain, and when a provider would use it (e.g. scoping a persistent cache)
- Document the
domain-scoped provider concept: what declaring it means, and that the API binds such a provider to at most one domain
- Fit this into the existing provider/domain and provider-lifecycle docs rather than a standalone page
Related
Links
The spec now supplies the bound
domainto a provider'sinitializefunction, and adds an opt-indomain-scopedprovider declaration that the API enforces by binding such a provider to at most onedomain. The conceptual docs should cover this so provider authors and users understand it.What needs to happen
initializecan receive the bounddomain, and when a provider would use it (e.g. scoping a persistent cache)domain-scopedprovider concept: what declaring it means, and that the API binds such a provider to at most onedomainRelated
Links