Sha256: bff0f5f9aceeaef06166688ad8692151e13ad5466fe80f9d8a5f82277aca9c45
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
class Chaos::Instability::IOWait attr_reader :sleep_provider private :sleep_provider def initialize(sleep_provider: Kernel) @sleep_provider = sleep_provider end def call(duration_in_seconds:) sleep_provider.sleep(duration_in_seconds) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chaos-rb-0.1.0 | lib/chaos/instability/i_o_wait.rb |