SwiftinitJetCoreJetCore.Dependency

init

JetCore.Dependency.init<A where A: JetCore.NoAsyncAsDependency, A: Sendable>(satisfying: A.Type, with: @Sendable () async throws -> A) -> JetCore.Dependency

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

A

req{}

param{}

  1. 0satisfying:
    metatypeA.Type
    • basegenericParameterA
  2. 1with:
    function@Sendable () async throws -> Asendableescapingasyncthrows
    • returnsgenericParameterA

result{}