pjfanning commented on code in PR #1945:
URL: https://github.com/apache/pekko/pull/1945#discussion_r2235062640


##########
actor/src/main/scala/org/apache/pekko/actor/Scheduler.scala:
##########
@@ -230,6 +230,29 @@ trait Scheduler {
       implicit executor: ExecutionContext): Cancellable =
     schedule(initialDelay, interval, runnable)(executor)
 
+  /**
+   * Deprecated API: See [[Scheduler#scheduleWithFixedDelay]] or 
[[Scheduler#scheduleAtFixedRate]].
+   */
+  @deprecated(
+    "Use scheduleWithFixedDelay or scheduleAtFixedRate instead. This has the 
same semantics as " +
+    "scheduleAtFixedRate, but scheduleWithFixedDelay is often preferred.",
+    since = "Akka 2.6.0")
+  @nowarn("msg=deprecated")

Review Comment:
   * this method is actually used so I plan to come back to it again in another 
PR
   * this PR is big enough already



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to