Effect CommunityEC
Effect Community3y ago
12 replies
jessekelly

Equivalent of Effect.timed for multiple named blocks of execution and the use of Spans for logging

Is there an equivalent to Effect.timed but for multiple named blocks of execution? Something like Effect<R, E, A> -> Effect<R, E, readonly [Record<string, Duration.Duration>, A]>. I'm guessing that this is handled using Spans but it seems like Spans are (currently?) only used for logging.
Was this page helpful?