You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
durable: fold the stacked effect-dispatch wrappers into one dispatch #254
After #235, effect dispatch runs through stacked single-line wrappers: dispatchEffects calls dispatch, which calls dispatchWith with nil, and dispatchReplayEffects also calls dispatchWith. Error and panic wrapping is split between applyEffect and dispatchWith. A reader has to trace three forwarding functions to reach the loop.
Suggested cleanup
Fold them into one dispatch(ctx, id, des, seen), passing nil from the live path, so there is one loop and one place that wraps errors and panics. No behavior change; the existing dispatch tests cover it.
Activity