File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ export class ReplayContainer implements ReplayContainerInterface {
225
225
* Stops the recording, if it was running.
226
226
*
227
227
* Returns true if it was previously stopped, or is now stopped,
228
- * * else false.
228
+ * otherwise false.
229
229
*/
230
230
public stopRecording ( ) : boolean {
231
231
try {
@@ -312,12 +312,14 @@ export class ReplayContainer implements ReplayContainerInterface {
312
312
}
313
313
314
314
/**
315
- * If not in "session" recording mode, flush event buffer (i.e. creates a new replay) .
315
+ * If not in "session" recording mode, flush event buffer which will create a new replay.
316
316
* Unless `continueRecording` is false, the replay will continue to record and
317
317
* behave as a "session"-based replay.
318
+ *
319
+ * Otherwise, queue up a flush.
318
320
*/
319
321
public async sendBufferedReplayOrFlush ( { continueRecording = true } : SendBufferedReplayOptions = { } ) : Promise < void > {
320
- // Don't allow if in session mode, use `flush()` instead
322
+ // if in session mode, call debounced flush
321
323
if ( this . recordingMode === 'session' ) {
322
324
return this . _debouncedFlush ( ) as Promise < void > ;
323
325
}
You can’t perform that action at this time.
0 commit comments