import { tracer } from '@sage/toolkit'; async function readBigFile() { const span = tracer.createSpan('Reading a big file'); const file = await bigFileReader.read(); span.log({ filename: file.name, size: file.size }); span.finish(); }
Continuation-Local Storage
By Tsachi Shushan