Skip to content

OutboxExtensions.SendReply(IOutbox, MessageType<T>, IInboxHandlerContext, GrainId, T)

SendReply(IOutbox, MessageType<T>, IInboxHandlerContext, GrainId, T)

staticextension
View source
public static void SendReply<T>(this IOutbox outbox, MessageType<T> messageType, IInboxHandlerContext context, GrainId destination, T body)
Encodes and stages a reply under the received command's deterministic result child.

Parameters

outboxIOutbox
The replying grain's outbox.
messageTypeMessageType<T>
The reply subject and serializer binding.
contextIInboxHandlerContext
The current received message and completion context.
destinationGrainId
The application-selected reply destination.
bodyT
The reply body.