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 remove it again in
another PR
* this PR is big enough already
* I have committed a change to move this method back to where it was in the
code
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]