Docs
Launch GraphOS Studio
You're viewing documentation for a previous version of this software. Switch to the latest stable version.


STRUCT

ApolloSequencedOperationMessageIdCreator

public struct ApolloSequencedOperationMessageIdCreator: OperationMessageIdCreator

The default implementation of OperationMessageIdCreator that uses a sequential numbering scheme.

Methods

init(startAt:)

public init(startAt sequenceNumber: Int = 1)

Designated initializer.

  • Parameter startAt: The number from which the sequenced numbering scheme should start.

Parameters

NameDescription
startAtThe number from which the sequenced numbering scheme should start.

requestId()

public func requestId() -> String

Returns the number in the current sequence. Will be incremented when calling this method.

Next
Introduction
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company