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