Module | Cabin::Mixins::Timer |
In: |
lib/cabin/mixins/timer.rb
lib/cabin/mixins/timer.rb |
Start timing something. Returns an instance of Cabin::Timer bound to this Cabin::Channel. To stop the timer and immediately emit the result to this channel, invoke the Cabin::Timer#stop method.
Start timing something. Returns an instance of Cabin::Timer bound to this Cabin::Channel. To stop the timer and immediately emit the result to this channel, invoke the Cabin::Timer#stop method.