Skip to content

State machines: Add Executor trait#705

Merged
h4sh3d merged 4 commits into
farcaster-project:mainfrom
sedited:stateExecutor
Oct 17, 2022
Merged

State machines: Add Executor trait#705
h4sh3d merged 4 commits into
farcaster-project:mainfrom
sedited:stateExecutor

Conversation

@sedited
Copy link
Copy Markdown
Contributor

@sedited sedited commented Aug 30, 2022

Adds an executor trait that is useful for a common operation involving state machines: Creating an event and calling next on the state machine and logging its results.

Based on #693

@sedited sedited force-pushed the stateExecutor branch 3 times, most recently from af618ff to 704ae6e Compare September 2, 2022 14:11
@sedited sedited marked this pull request as ready for review September 2, 2022 14:12
Adds an executor trait that is useful for a common operation
involving state machines: Creating an event and calling next on the
state machine and logging its results.
@h4sh3d h4sh3d added the farcaster.dev testing Currently apply (or to be applied) on farcaster.dev backend label Oct 12, 2022
Copy link
Copy Markdown
Member

@h4sh3d h4sh3d left a comment

Choose a reason for hiding this comment

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

tACK

Good refactor, the 2 functions were basically the same. Tested the PR is equivalent feature wise.

@h4sh3d h4sh3d merged commit 517c663 into farcaster-project:main Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

farcaster.dev testing Currently apply (or to be applied) on farcaster.dev backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants