Skip to main content
Version: v2

ConsensusCallback TypeAlias

Callback provided to acquire() and waitAndAcquire() methods.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/ordered-collection/legacy.

For more information about our API support guarantees, see here.

Signature

export type ConsensusCallback<T> = (value: T) => Promise<ConsensusResult>;

Type Parameters

ParameterDescription
T