Retry Specific Parts of an Effect Instead of the Whole Effect

I'm aware that Effect.withExecutionPlan retries the whole effect it's wrapped.

Is there any abstraction that retries more cirurgically?

For example if I have LayerA.method and LayerB.method, I'm now creating a RetryLayer that also implements the same tag (with .method), and will do a fallback.

I thought Effect.withExecutionPlan would help me do this, but it retries the whole effect, not just the .method.
Was this page helpful?