This repository was archived by the owner on Mar 5, 2023. It is now read-only.
This repository was archived by the owner on Mar 5, 2023. It is now read-only.
Type support for useActor
#70
Open
Description
Let's discuss this as a new issue and close #48 since it seems like a much more complicated problem.
The useActor
alone has 3 overloads around some getSnapshot
which I don't fully understand yet.
Then there is ActorRefFrom
which can get ActorRef
type based on the machine. That's currently incompatible with generated classes extended from StateNodeWithGeneratedTypes
.
I can imagine we could ideally generate direct MachineIdActorRef
types, but I am not sure how to approach that.
@mattpocock Can you please have a look at it and perhaps make a Loom again with hints?
Metadata
Metadata
Assignees
Labels
No labels