You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Akka for Scala introduced a replyWhileStopped feature to the BackoffSupervisor last May. One case where its useful is when using the Ask Pattern. The feature means the Ask gets an immediate response when the child is stopped as part of a backoff, this is often preferential to having the Ask forwarded to DeadLetters by the BackoffSupervisor, thus relying on an Ask timeout. See akka/akka#21213
Obviously adding the feature will increase the API surface slightly, and may involve the addition of a parameter to the BackoffSupervisor constructor (which is public) - though most people will not be using the constructor directly because the factory methods are the general way to go. I'm happy to string together some commits, tests and doc update to get a PR moving, what do you think?
The text was updated successfully, but these errors were encountered:
Akka for Scala introduced a
replyWhileStopped
feature to theBackoffSupervisor
last May. One case where its useful is when using the Ask Pattern. The feature means the Ask gets an immediate response when the child is stopped as part of a backoff, this is often preferential to having the Ask forwarded toDeadLetters
by the BackoffSupervisor, thus relying on an Ask timeout. See akka/akka#21213Obviously adding the feature will increase the API surface slightly, and may involve the addition of a parameter to the BackoffSupervisor constructor (which is public) - though most people will not be using the constructor directly because the factory methods are the general way to go. I'm happy to string together some commits, tests and doc update to get a PR moving, what do you think?
The text was updated successfully, but these errors were encountered: