@@ -453,7 +453,7 @@ export class ReplayContainer implements ReplayContainerInterface {
453453
454454 // We need to clear existing events on a checkout, otherwise they are
455455 // incremental event updates and should be appended
456- addEvent ( this , event , isCheckout ) ;
456+ void addEvent ( this , event , isCheckout ) ;
457457
458458 // Different behavior for full snapshots (type=2), ignore other event types
459459 // See https://github.com/rrweb-io/rrweb/blob/d8f9290ca496712aa1e7d472549480c4e7876594/packages/rrweb/src/types.ts#L16
@@ -559,7 +559,7 @@ export class ReplayContainer implements ReplayContainerInterface {
559559 }
560560
561561 this . addUpdate ( ( ) => {
562- addEvent ( this , {
562+ void addEvent ( this , {
563563 type : EventType . Custom ,
564564 // TODO: We were converting from ms to seconds for breadcrumbs, spans,
565565 // but maybe we should just keep them as milliseconds
@@ -677,7 +677,7 @@ export class ReplayContainer implements ReplayContainerInterface {
677677 */
678678 createCustomBreadcrumb ( breadcrumb : Breadcrumb ) : void {
679679 this . addUpdate ( ( ) => {
680- addEvent ( this , {
680+ void addEvent ( this , {
681681 type : EventType . Custom ,
682682 timestamp : breadcrumb . timestamp || 0 ,
683683 data : {
@@ -692,7 +692,7 @@ export class ReplayContainer implements ReplayContainerInterface {
692692 * Observed performance events are added to `this.performanceEvents`. These
693693 * are included in the replay event before it is finished and sent to Sentry.
694694 */
695- addPerformanceEntries ( ) : Promise < Array < WorkerAddEventResponse | null > > {
695+ addPerformanceEntries ( ) : Promise < Array < WorkerAddEventResponse | null > > {
696696 // Copy and reset entries before processing
697697 const entries = [ ...this . performanceEvents ] ;
698698 this . performanceEvents = [ ] ;
0 commit comments