Skip to content

Conversation

@MrHant
Copy link
Contributor

@MrHant MrHant commented Sep 15, 2025

Implements proper .NET async naming conventions by adding "Async" suffix to all asynchronous methods.
I would suggest bumping major version to address a lot of breaking changes. (current readme updated for migration as 1.8.0 for next version)

Breaking Changes

  • IStateMachine.Execute() → ExecuteAsync()
  • IExecutableState.Initialize() → InitializeAsync()
  • IExecutableState.Execute() → ExecuteAsync()
  • IExecutableState.Exit() → ExitAsync()

Migration

See "Upgrading from Versions < 1.8.0" section in README.md for detailed migration steps.

Files Updated

  • Core framework interfaces and implementations
  • All examples, tests, and benchmarks
  • Documentation (README.md)

Fixes #101

@bazyleu bazyleu assigned bazyleu and unassigned bazyleu Sep 15, 2025
Copy link
Owner

@bazyleu bazyleu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image Lots of compile errors in tests. Errors must be fixed before merge.

@MrHant
Copy link
Contributor Author

MrHant commented Sep 16, 2025

@bazyleu please give it another try

@MrHant MrHant requested a review from bazyleu September 16, 2025 06:07
Copy link
Owner

@bazyleu bazyleu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now looks good! Thanks!
I will merge to master probably on the nearest weekend.

@bazyleu
Copy link
Owner

bazyleu commented Sep 21, 2025

Upd: This is existing API change, so we decided this PR will be part of 2.0.0 version. Need time to prepare other changes for 2.0.0.

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.

Rework naming with Async suffix

2 participants