Skip to content

Commit 7bab699

Browse files
committed
fix documentation
1 parent e92b323 commit 7bab699

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/concurrent/timer_task.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ module Concurrent
126126
# task = Concurrent::TimerTask.new(execution_interval: 1, timeout_interval: 1){ 42 }
127127
# task.add_observer(TaskObserver.new)
128128
# task.execute
129+
# sleep 4
129130
#
130131
# #=> (2013-10-13 19:08:58 -0400) Execution successfully returned 42
131132
# #=> (2013-10-13 19:08:59 -0400) Execution successfully returned 42

0 commit comments

Comments
 (0)