Convert logging infrastructure to TypeScript
This commit is contained in:
parent
10ace53845
commit
a8787e7c9e
19 changed files with 595 additions and 331 deletions
|
@ -24,7 +24,7 @@ window.waitForAllBatchers = async () => {
|
|||
export type BatcherOptionsType<ItemType> = {
|
||||
wait: number;
|
||||
maxSize: number;
|
||||
processBatch: (items: Array<ItemType>) => Promise<void>;
|
||||
processBatch: (items: Array<ItemType>) => void | Promise<void>;
|
||||
};
|
||||
|
||||
export type BatcherType<ItemType> = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue