Handling Spans in Concurrent Effects with Effect.all vs. Fiber.joinAll

Is it possible that
yield* Effect.all([
   reportSomethingSlow([]), // has a span
   reportSomethingElse([])
], {concurrency: 2}) 


does not work when the inner effect has spans?

Like we moved one effect that has withSpan in Effect.all, now its not reported anymore?

Or should we better do

const first = yield* reportSomethingSlow([]).pipe(Effect.fork)
const second = yield* reportSomethingElse([]).pipe(Effect.fork)

yield* Fiber.joinAll([first, second])
Was this page helpful?