ResolutionExtension extension

on

Methods

collectDependencies() Iterable<InjectorKey>

Available on ServiceDescriptor, provided by the ResolutionExtension extension

Collects all required dependencies of this service and its conditions.
collectOptionalDependencies() Iterable<InjectorKey>

Available on ServiceDescriptor, provided by the ResolutionExtension extension

Collects all optional dependencies of this service and its conditions.
isSatisfied(Injector injector) bool

Available on ServiceDescriptor, provided by the ResolutionExtension extension

Verifies if the injector provides all required dependencies.
isSolvable(Injector injector, List<InjectorKey> futurePromises) bool

Available on ServiceDescriptor, provided by the ResolutionExtension extension

Verifies if all required dependencies are either already provided by the injector or could still become available as promised by futurePromises.
skipDependencyCycle(Injector injector, List<InjectorKey> futurePromises) bool

Available on ServiceDescriptor, provided by the ResolutionExtension extension

Returns if the DarwinSystemServiceMixin should wait another dependency cycle before trying to create this service, either because it is currently lacking required dependencies, or optional dependencies are still being possibly promised by futurePromises.