-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
SP Prioritized List
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Baton defines a waitUntil method, but not a sleepFor method. As a result, it doesn't pass template substitution for the SleepableExecutor argument throughout the AsyncTry infrastructure. This seems like a missed opportunity to cheaply support synchronous retry loops with backoffs, which we don't appear to formally support in any way currently.
Investigate adding a sleepFor method to Baton and using Baton as a SleepableExecutor in AsyncTry loops. Either commit the change or document why we can't.