Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Godular 0.2.0
Logo
Godular 0.2.0
  • Getting started
  • Modules
  • Dependency injection
  • Middleware
  • Command bus
  • Jobs
  • Promises
  • Editor
  • API reference
    • GdlrModule
    • GdlrCapability
    • GdlrModuleManager
    • GdlrModuleGraph
    • GdlrModuleGraph.DebugPlugin
    • GdlrModuleDefinition
    • GdlrMiddlewarePipeline
    • CapGdlrCommandBus
    • CapGdlrCommandBus.Command
    • CapGdlrCommandBus.CommandEnvelope
    • CapGdlrCommandBus.CommandMeta
    • CapGdlrCommandBus.CommandRoute
    • CapGdlrCommandBus.CommandResult
    • CapGdlrCommandBus.RateLimitInfo
    • CapGdlrCommandHandlers
    • CapGdlrCommandHandlers.Context
    • CapGdlrCommandHandlers.LocalOutput
    • GdlrCommandHandler
    • GdlrCommandMiddleware
    • CapGdlrCommandTransport
    • GdlrCommandTransportAdapter
    • CapGdlrCommandRouter
    • CapGdlrJobs
    • CapGdlrJobs.JobSpec
    • CapGdlrJobs.Job
    • CapGdlrJobsRegistry
    • GdbPromise
    • GdlrDiContainer
    • GdlrDiContainer.ProviderFactory
    • GdlrModuleProvider
    • GdlrCommandPipeline
    • GdlrCommandPipeline.PipelineEntry
    • GdlrMiddlewarePipeline.PipelineEntry
  • Contributing
  • Releasing
Back to top
View this page
Edit this page

GdlrDiContainer.ProviderFactory¶

Inherits: RefCounted < Object

Resolves one provider together with its dependencies.

Description¶

Internal. GdlrModuleGraph builds one factory per provider.

Methods¶

GdbPromise

resolve()

Variant

resolve_sync()


Method Descriptions¶

GdbPromise resolve() 🔗

Resolves the dependencies through their own containers, then creates the provider value.


Variant resolve_sync() 🔗

Resolves the dependencies and the provider value without waiting.

Next
GdlrModuleProvider
Previous
GdlrDiContainer
Copyright © Godular contributors
Made with Sphinx and @pradyunsg's Furo
On this page
  • GdlrDiContainer.ProviderFactory
    • Description
    • Methods
    • Method Descriptions