MCPcopy
hub / github.com/Bogdanp/dramatiq / send

Method send

dramatiq/actor.py:140–150  ·  view source on GitHub ↗

Asynchronously send a message to this actor. Parameters: *args: Positional arguments to send to the actor. **kwargs: Keyword arguments to send to the actor. Returns: Message: The enqueued message.

(self, *args: P.args, **kwargs: P.kwargs)

Source from the content-addressed store, hash-verified

138 )
139
140 def send(self, *args: P.args, **kwargs: P.kwargs) -> Message[R]:
141 """Asynchronously send a message to this actor.
142
143 Parameters:
144 *args: Positional arguments to send to the actor.
145 **kwargs: Keyword arguments to send to the actor.
146
147 Returns:
148 Message: The enqueued message.
149 """
150 return self.send_with_options(args=args, kwargs=kwargs)
151
152 def send_with_options(
153 self,

Calls 1

send_with_optionsMethod · 0.95