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
Commit cf25de9
Browse filesBrowse the repository at this point in the historyBrowse files
Update ResilientFunctions to CreateAndStart lifecycle and adapt the Flows wrapper (#13)
The submodule moves to latest main (PR #221), where FunctionsRegistry's
constructor is private and the static CreateAndStart factories are the only
public construction path - guaranteeing background processing never starts
before construction completes.
FlowsContainer follows the same shape: private constructor plus async
CreateAndStart factories (the Create helper is renamed accordingly). The DI
registration resolves the container through a factory that blocks once during
host start-up, mirroring the old constructor's synchronous replica-watchdog
initialization.
Adaptations to the intervening core changes:
- Flows<...> now registers through the public Register* overloads with plain
Task-returning inners. The previous internal-overload registration bypassed
the core's WithSuspension wrapper, and since the central-suspension redesign
(core #204) removed exception-based suspension, wrapper flows awaiting a
message were stuck Executing forever instead of suspending. The wrapper's
own exception-to-result catch blocks are deleted - the core adapter owns
that conversion now.
- SuspendInvocationException catches removed (type deleted; suspension no
longer surfaces as an exception).
- FlowOptions/FlowsContainer no longer reference the removed EnableWatchdogs
and DelayStartup settings; MapToLocalSettings matches the new LocalSettings
shape.
- Flows.Interrupt removed, mirroring the interrupt API deletion in the core.
- OptionsTests appends its message via the registration MessageWriter instead
of the control panel - control-panel appends against a live flow race the
owner's effect-version guard.
0 commit comments