Skip to content
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

Change: BindWithState -> Bind #140

Merged
merged 5 commits into from
Nov 20, 2024
Merged

Change: BindWithState -> Bind #140

merged 5 commits into from
Nov 20, 2024

Conversation

yn01-dev
Copy link
Owner

Change the name of the BindWithState method to Bind.

Also, add an overload that supports value-type state using a wrapper class for Action. This will result in fewer allocations, as closures are no longer needed. It also optimizes delegate calls, which improves performance. (See #71 )

@yn01-dev yn01-dev changed the base branch from main to v2.0 November 20, 2024 14:22
@yn01-dev yn01-dev merged commit fb3c42b into v2.0 Nov 20, 2024
@yn01-dev yn01-dev deleted the remove-bindwithstate branch November 20, 2024 14:23
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.

1 participant