ConsensusCallback

Packages > @fluidframework/ordered-collection > ConsensusCallback

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

Parameter Description
T