Skip to content

Commit 717611e

Browse files
committed
cleanup
1 parent d40d66b commit 717611e

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/kafka/lib/utils/KafkaMessageBatchStream.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,6 @@ export class KafkaMessageBatchStream<TMessage extends MessageWithTopicAndPartiti
123123
callback()
124124
}
125125

126-
public getPendingCount(): number {
127-
return this.messages.length
128-
}
129-
130-
public hasPendingCallback(): boolean {
131-
return this.pendingCallback !== undefined
132-
}
133-
134126
private flushMessages(): boolean {
135127
clearTimeout(this.existingTimeout)
136128
this.existingTimeout = undefined

0 commit comments

Comments
 (0)