Skip to content

Replace resetStateMachine with resetStateMachineReactively #950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

xJoeWoo
Copy link
Contributor

@xJoeWoo xJoeWoo commented Apr 16, 2021

Fix #949

  1. Marked resetStateMachine as deprecated and replace resetStateMachine() calls to resetStateMachineReactively().block().
  2. Introduced Mono#defer to AbstractPersistStateMachineHandler#handleEventWithStateReactively for initialing the state machine lazily.

…bstractPersistStateMachineHandler#handleEventWithStateReactively. Fix spring-projects#949

Signed-off-by: xJoeWoo <xjoewoo@gmail.com>
@jvalkeal
Copy link
Contributor

lgtm!

@jvalkeal
Copy link
Contributor

Merged per 048e930

@jvalkeal jvalkeal closed this Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AbstractPersistStateMachineHandler fails to handle event in webflux
2 participants