Addwould not only add 1, but, whatever we tell it to, maybe even 3!
recvfunction https://github.com/olanod/riker-es/blob/cqrs/src/entity.rs#L61 I thought
ctx.runwould run the future already but seems it doesn't and so far the only way I see is doing
block_onbut I run into the error
executor from within another executorI guess block_on is not meant to be run inside
recv? is it because of my
ActorSystemis the heart of a Riker application, starting several threads when it is created. Create only one instance of
so, if i create the
main(), how do i access it in a different part of the application?
main()there's no way to get an
ActorRefin some disparate part of my application, other than passing an actor or a system, or a reference to those, into that part of the application
System, which is helpful for interacting with actors through system messages and in some cases user-level messages.
Context, but you are free to pass
ActorSystem, etc if you have parts of an application that are not an actor themselves
Senderisn't part of the
ActorSystemi need to pass around a ref, just like with the database connection, and, in my naïvité, i thought i could avoid that, but knowing the actor's name
typedfunction but needs an
ExtendedCellas parameter, no idea where to get that, looks like an internal type