File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export class StreamProducer implements Producer {
121121 }
122122
123123 async flush ( ) {
124- await this . sendChunk ( )
124+ await this . sendBuffer ( )
125125 return true
126126 }
127127
@@ -181,7 +181,7 @@ export class StreamProducer implements Producer {
181181 const sendCycleNeeded = this . add ( publishRequestMessage )
182182 let sent = false
183183 if ( sendCycleNeeded ) {
184- await this . sendChunk ( )
184+ await this . sendBuffer ( )
185185 sent = true
186186 }
187187 this . scheduleIfNeeded ( )
@@ -198,7 +198,7 @@ export class StreamProducer implements Producer {
198198 return true
199199 }
200200
201- private async sendChunk ( ) {
201+ private async sendBuffer ( ) {
202202 const chunk = this . popChunk ( )
203203 if ( chunk . length > 0 ) {
204204 await this . client . send (
You can’t perform that action at this time.
0 commit comments