ProtocolHandlerBuilder

Packages > @fluidframework/container-loader > ProtocolHandlerBuilder

Function to be used for creating a protocol handler.

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

To use, import via @fluidframework/container-loader/legacy.

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

Signature

export type ProtocolHandlerBuilder = (attributes: IDocumentAttributes, snapshot: IQuorumSnapshot, sendProposal: (key: string, value: any) => number) => IProtocolHandler;