Effect CommunityEC
Effect Community3y ago
19 replies
carlovassallo

Effect.withSpan causing batching issue in function fn

I've found that using span breaks batching, if I have a funciton fn using pipe(Effect.request, Effect.withSpan) when I using Effect.all([fn(), fn()], { batching: true} the requests are not batched. the problem disappears when i remove the Effect.withSpan
Was this page helpful?