(payload: TrackHandlerPayload)
| 132 | } |
| 133 | |
| 134 | async send(payload: TrackHandlerPayload) { |
| 135 | if (this.options.filter && !this.options.filter(payload)) { |
| 136 | return null; |
| 137 | } |
| 138 | if (!this.isOnline) { |
| 139 | this.addQueue(payload); |
| 140 | return null; |
| 141 | } |
| 142 | return await super.send(payload); |
| 143 | } |
| 144 | |
| 145 | flush() { |
| 146 | if (!this.isOnline) { |