Skip to content

Function: nextCredentialChangeSequence()

Makaio Framework


Makaio Framework / services-core/credential-change / nextCredentialChangeSequence

nextCredentialChangeSequence(bus, providerConfigId): number

Defined in: ../../../packages/services/core/src/credential-change/index.ts:27

Allocate the next monotonic credential-change sequence for one provider config on one bus instance.

IMakaioBus

Bus whose runtime owns the sequence space

string

Provider config whose sequence should advance

number

Next strictly increasing sequence number for the provider config