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

WIP WorkflowUI observation with delegate methods #208

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amorde
Copy link
Member

@amorde amorde commented May 10, 2023

Compare with #209 and #210

Pros

  • Matches existing APIs for Workflow observation
  • Adding new events is mostly backwards compatible (via default implementation in protocol extension)

Cons

  • Verbose definition & implementation
  • No way to pattern match over a concrete list of possible events
  • Slightly cumbersome to port to another observation system (ex. FRP frameworks) as it would require re-defining the data in a tuple or a custom type

@amorde amorde changed the title WIP WorkflowUI observation WIP WorkflowUI observation with delegate methods May 11, 2023
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.

None yet

1 participant