Constructors
Properties
items
items: { action: "create" | "update"; itemPromise: Promise<void>; itemPromiseResolve: () => void; payload: RunCreate | RunUpdate; size: number;}[] = [] sizeBytes
sizeBytes: number = 0
Methods
peek
- peek(): {
action: "create"
| "update";
itemPromise: Promise<void>;
itemPromiseResolve: () => void;
payload: RunCreate | RunUpdate;
size: number;
} Returns {
action: "create" | "update";
itemPromise: Promise<void>;
itemPromiseResolve: () => void;
payload: RunCreate | RunUpdate;
size: number;
}
pop
- pop(upToSizeBytes: number): [AutoBatchQueueItem[], () => void]
Returns [AutoBatchQueueItem[], () => void]
push
- push(item: AutoBatchQueueItem): Promise<void>
Returns Promise<void>