New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obsolete Saga.RequestTimeout(Action<TTimeoutMessageType>) #2491
Comments
same for |
I actually think we need to remove the This is related to the issue that we have just patched not long ago regarding #2446. So in summary users should be allowed to delay any incoming message including events. public class MySaga : Saga<MySagaData>,
IAmStartedByMessages<OrderShipped>,
IHandleTimeouts<OrderShipped>
{
public void Handle(OrderShipped message)
{
RequestTimeout<OrderShipped>(TimeSpan.FromSeconds(25), message);
}
public void Timeout(OrderShipped state)
{
}
}
interface OrderShipped : IEvent
{
} |
When you request the TM you already have the instantiated message? Sent from my iPhone
|
Both have
new()
constraints and hence cannot be an interface. No need to construct an instance when the consumer can do this themselves.The text was updated successfully, but these errors were encountered: