Skip to content

Commit

Permalink
Implement SleepSystem.steal
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Aug 3, 2024
1 parent 75a0c79 commit 6685820
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/jvm/src/main/scala/cats/effect/unsafe/SleepSystem.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ object SleepSystem extends PollingSystem {
false
}

def steal(poller: Poller, reportFailure: Throwable => Unit): Boolean = false

def needsPoll(poller: Poller): Boolean = false

def interrupt(targetThread: Thread, targetPoller: Poller): Unit =
Expand Down

0 comments on commit 6685820

Please sign in to comment.