Closed davidkpiano closed 3 months ago
Latest commit: ec106a3a203f63230a48e2da0ca105ae492d47df
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
@Andarist I'm not sure why store
does not extend ActorRefLike
- TypeScript isn't too helpful here
By passing actorRef
to observer.next
(and more) you make it possible for the receiver of that reference to call actorRef.send
. On the receiver's end, it's possible to call that .send
method with EventObject
- but the actual actorRef
that you have passed there doesn't allow just any EventObject
. It only accepts ExtractEventsFromPayloadMap<TEventPayloadMap>
and conceptually it's just a subtype of EventObject
. That's why it errors.
5027