Skip to content

Commit d5eddda

Browse files
committed
tests: this will be the day ... that tsc starts paying attention to @internal, apparently
1 parent 2e78049 commit d5eddda

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/publisher/message-batch.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ export class MessageBatch {
9090
tracing.PubsubSpans.createPublishSchedulerSpan(message);
9191
}
9292

93+
/**
94+
* Ends the current batch, and returns the messages and callbacks we've queued up.
95+
*
96+
* @private
97+
* @internal
98+
*/
9399
end(): BatchResults {
94100
this.messages.forEach(m => m.publishSchedulerSpan?.end());
95101
return {

src/telemetry-tracing.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export function isEnabled(): OpenTelemetryLevel {
105105
* or subscriber span, depending on the context.
106106
*
107107
* @private
108-
* @internal
109108
*/
110109
export interface MessageWithAttributes {
111110
attributes?: Attributes | null | undefined;

0 commit comments

Comments
 (0)