Skip to content

Commit

Permalink
Removed console log
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Dec 11, 2023
1 parent 4ea5e83 commit f04d7d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/live-query/live-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ export interface LiveQueryContext {
querier: Function; // For debugging purposes and Error messages
}

let liveQueryCounter = 0;

export function liveQuery<T>(querier: () => T | Promise<T>): IObservable<T> {
let hasValue = false;
let currentValue: T;
Expand All @@ -44,7 +42,6 @@ export function liveQuery<T>(querier: () => T | Promise<T>): IObservable<T> {
function execute(ctx: LiveQueryContext) {
const wasRootExec = beginMicroTickScope(); // Performance: Avoid starting a new microtick scope within the async context.
try {
console.log("LiveQuery ID: " + ++liveQueryCounter);
if (scopeFuncIsAsync) {
incrementExpectedAwaits();
}
Expand Down

0 comments on commit f04d7d8

Please sign in to comment.