Skip to content

Actions of invocation cannot be extracted #1706

Answered by davidkpiano
baeharam asked this question in Q&A
Discussion options

You must be logged in to vote

This is a known limitation (which might be fixed soon). You have to assume that actions in options.actions: { ... } can be called from any state, with any event. That's why the type has to be the full TEvent, and not a restricted event type.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@baeharam
Comment options

@davidkpiano
Comment options

Answer selected by baeharam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants