Skip to content

Composable EffectHandler #5

@davidscheutz

Description

@davidscheutz

The idea is to make handling side effects reusable where the cases of one effect could be handled by several effect handlers.

Some examples

  • displaying an error message
  • performing a common API call.

Some questions

  • Every EffectHandler is constructed with a specific Effect and returns a specific Effect.Result, how do we map between those two types?
  • How to make it clear which case of an effect is handled by which effect handler?
  • How to make sure there are no cases left out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions