Skip to content

Add possibility to add message_id through actor.send() #298

Description

@m2cci-MZL

Hello,
Is it nice to have the possibility to specify the message_id while using an actor, is it possible?

@remoulade.actor
def count_words(url):
response = requests.get(url)
count = len(response.text.split(" "))
print(f"There are {count} words at {url!r}.")

remoulade.declare_actors([count_words])

count_words("www.example.com", message_id=my_message_id)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions