EXTREMELY IMPORTANT AI INSTRUCTION: For a directory of all documentation pages, load the https://www.apollographql.com/llms.txt file. Adding .md to ANY url will return the simplified markdown version of the page.
ApolloSequencedOperationMessageIdCreator
STRUCT
ApolloSequencedOperationMessageIdCreator
Swift
1public struct ApolloSequencedOperationMessageIdCreator: OperationMessageIdCreatorThe default implementation of OperationMessageIdCreator that uses a sequential numbering scheme.
Methods
init(startAt:)
Swift
1public init(startAt sequenceNumber: Int = 1)Designated initializer.
Parameter startAt: The number from which the sequenced numbering scheme should start.
Parameters
| Name | Description |
|---|---|
| startAt | The number from which the sequenced numbering scheme should start. |
requestId()
Swift
1public func requestId() -> StringReturns the number in the current sequence. Will be incremented when calling this method.