Skip to content

InProcessTransport not show correct #11

@gulivero1773

Description

@gulivero1773

I write test on my function in application, and use template func - ` func withInProcessClientConnectedToServer(
services: [any RegistrableRPCService],
interceptorPipeline: [ConditionalInterceptor] = [],
_ body: (InProcessTransport.Client, GRPCServer<InProcessTransport.Server>) async throws -> Void
) async throws {
let inProcess = InProcessTransport()

try await withGRPCServer(
  transport: inProcess.server,
  services: services,
  interceptorPipeline: interceptorPipeline
) { server in
  try await withThrowingTaskGroup(of: Void.self) { group in
    group.addTask {
      try await inProcess.client.connect()
    }

    try await body(inProcess.client, server)
    inProcess.client.beginGracefulShutdown()
  }
}

}` but when I use this code in my application I have this warning

Image and when jump to definition I have this Image but in library I have Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportAdopter support requests.status/triageCollecting information required to triage the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions