Class: TIMEx::Strategies::Cooperative

Inherits:
Base
  • Object
show all
Defined in:
lib/timex/strategies/cooperative.rb

Overview

Default strategy: runs the block, then performs a final #Deadline#Deadline#check! so purely CPU-bound work still observes expiry at cooperative points only.

See Also:

Method Summary

Methods inherited from Base

call, #call