Skip to content

Example of how to call into actors from outside and receive data synchronously #22

@wanton7

Description

@wanton7

I like to integrate Coyote with ASP.NET Core REST API we have. I was reading Synchronous execution of actors in docs and is it so that I have to create an actor that is created just for calling into actor system?
If I would use CreateActorAndExecuteAsync and send message in its OnEntry method should call Halt() at end of that method if I'm gonna use that actor for sending a single message from REST API?

It would be create I there was example/sample how to integrate something similar to ASP.NET Core API to Coyote actor system. Just having having example how to send single message into actor system and receive value synchronously that could be used without blocking from ASP.NET Core controller would be enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions