Skip to content

Commit

Permalink
fix: move unrefTimer function in core
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurkale22 committed Sep 11, 2019
1 parent 6ee6c86 commit 644f8ff
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

import { TraceOptions } from '@opentelemetry/types';
import { unrefTimer } from '@opentelemetry/core';
import { SpanProcessor } from '../SpanProcessor';
import { SpanExporter } from './SpanExporter';
import { Span } from '../Span';
import { ReadableSpan } from './ReadableSpan';
import { unrefTimer } from '../platform';
import { BufferConfig } from '../types';

const DEFAULT_BUFFER_SIZE_MS = 100;
Expand Down
17 changes: 0 additions & 17 deletions packages/opentelemetry-basic-tracer/src/platform/browser/index.ts

This file was deleted.

20 changes: 0 additions & 20 deletions packages/opentelemetry-basic-tracer/src/platform/index.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/opentelemetry-basic-tracer/src/platform/node/index.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/opentelemetry-core/src/platform/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
*/

export * from './id';
export * from './timer-util';
1 change: 1 addition & 0 deletions packages/opentelemetry-core/src/platform/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
*/

export * from './id';
export * from './timer-util';

0 comments on commit 644f8ff

Please sign in to comment.