Parameters
-
next: ((this, atOnce) => Promise<[Entry, ...Entry[]]>)
-
- (this, atOnce): Promise<[Entry, ...Entry[]]>
-
Parameters
-
this: void
-
atOnce: number
Returns Promise<[Entry, ...Entry[]]>
A promise resolved to the next buffer entry. I.e. to the oldest buffered message entry.
Builds a log buffer drainer function.