Type Aliasswift-protobuf 1.28.1SwiftProtobuf
Element
The message type in this asynchronous sequence.
AsyncMessageSequence.swift:54- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
typealias Element = M
Other members in extension
Types
struct AsyncIterator
An asynchronous iterator that produces the messages of this asynchronous sequence.
Type members
init(base: Base, extensions: (any ExtensionMap)?, partial: Bool, options: BinaryDecodingOptions
) Reads size-delimited messages from the given sequence of bytes. Delimited format allows a single file or stream to contain multiple messages. A delimited message is a varint encoding the message size followed by a message of exactly that size.
Instance members
func makeAsyncIterator(
) -> AsyncMessageSequence.AsyncIterator Creates the asynchronous iterator that produces elements of this asynchronous sequence.