We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d6ad7 commit cf0997cCopy full SHA for cf0997c
lib/concurrent/channel/tick.rb
@@ -1,3 +1,4 @@
1
+require 'concurrent/synchronization'
2
require 'concurrent/utility/monotonic_time'
3
4
module Concurrent
@@ -13,8 +14,9 @@ class Channel
13
14
# @see Concurrent.monotonic_time
15
# @see Concurrent::Channel.ticker
16
# @see Concurrent::Channel.timer
- class Tick
17
+ class Tick < Synchronization::Object
18
include Comparable
19
+ safe_initialization!
20
21
STRING_FORMAT = '%F %T.%6N %z %Z'.freeze
22
0 commit comments