@tanstack/offline-transactions
Version:
Offline-first transaction capabilities for TanStack DB
28 lines (27 loc) • 500 B
JavaScript
const noopSpan = {
setAttribute: () => {
},
setAttributes: () => {
},
setStatus: () => {
},
recordException: () => {
},
end: () => {
}
};
async function withSpan(name, attrs, fn, _options) {
return await fn(noopSpan);
}
async function withNestedSpan(name, attrs, fn, _options) {
return await fn(noopSpan);
}
function withSyncSpan(name, attrs, fn, _options) {
return fn(noopSpan);
}
export {
withNestedSpan,
withSpan,
withSyncSpan
};
//# sourceMappingURL=tracer.js.map