Skip to content

Implement the LambdaAction.#11

Merged
SFGrenade merged 1 commit intosilksong-modding:mainfrom
dplochcoder:lambda
Jan 20, 2026
Merged

Implement the LambdaAction.#11
SFGrenade merged 1 commit intosilksong-modding:mainfrom
dplochcoder:lambda

Conversation

@dplochcoder
Copy link
Copy Markdown
Contributor

DelegateAction requires an argument that cannot be null, which makes it awkward to use when there is no argument to provide for arbitrary code. LambdaAction fills this gap.

@SFGrenade
Copy link
Copy Markdown
Member

ugh, if i knew how many used the *Method util calls, i could check to rename lambdaaction to methodaction and the current *Method calls to *Delegate and the *Method for this new one, or i can do it with *Lambda for this version

@dplochcoder
Copy link
Copy Markdown
Contributor Author

ugh, if i knew how many used the *Method util calls, i could check to rename lambdaaction to methodaction and the current *Method calls to *Delegate and the *Method for this new one, or i can do it with *Lambda for this version

I'm relatively ambivalent towards the exact solution I just want my one-liner 0-arg FsmAction (I use this a lot in HK)

@SFGrenade
Copy link
Copy Markdown
Member

fair

@SFGrenade SFGrenade merged commit 6903e78 into silksong-modding:main Jan 20, 2026
5 checks passed
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.

2 participants