Skip to content

Commit

Permalink
Rename sleepUntil to snooze
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jul 12, 2024
1 parent d7a359a commit 7a4b8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/turbulence-core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ extension (obj: LazyList.type)

def recur(iteration: Int): LazyList[Unit] =
try
sleepUntil(startTime + duration.milliseconds*iteration)
snooze(startTime + duration.milliseconds*iteration)
() #:: pulsar(duration)
catch case err: ConcurrencyError => LazyList()

Expand Down

0 comments on commit 7a4b8bd

Please sign in to comment.