init(importing:)
Creates a transfer representation that’s imported by proxy through another transfer representation.
Declaration
init(importing: @escaping @Sendable (ProxyRepresentation) async throws -> Item)Parameters
- importing:
A closure that converts the chosen representation into the transported item.