Actyx / Actyx/machines

add per-state hook for handling discarded events

Open
#25 16 comments 0 reactions 1 assignee Claimed by @Kelerchian View on GitHub
Dominant language
TypeScript
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Any event type that is currently unexpected will be discarded. We add a hook that can be installed via the state designer DSL so that discarded events can be processed. This is important for user code in order to trigger compensating actions after the log merge has invalidated some previous states that were acted upon.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the state designer DSL and the event-handling path where unexpected events are discarded. Trace how per-state behavior is currently represented and check existing tests around discarded or unexpected events, if present. Done means the DSL can install a per-state hook and discarded events reach it so user code can process them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.