Skip to main content

GrpcObjectResultsProtocol

GrpcObjectResultsProtocol​

protocol GrpcObjectResultsProtocol : AnyObject, Sendable

The results of a batch of objects, in request order. Each item is either the object or the error the server reported for it.

Read items by position with get, or in order with has_next and next. An item's error does not end the iteration: next throws it and the following call moves on to the next item. Items can be read any number of times.