import { Deferred } from "@fluidframework/common-utils" ; import { IPendingBoxcar } from "./queue" ; export const MaxBatchSize = 32 ; export class PendingBoxcar implements IPendingBoxcar { public deferred = new Deferred < void > ( ) ; public messages : any [ ] = [ ] ; public partitionId ? : number ; constructor ( public tenantId , public documentId ) { } }