class Marionette::Wait

Defined in:

marionette/wait.cr

Constant Summary

DEFAULT_INTERVAL = 200.0
DEFAULT_TIMEOUT = 5000.0

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(*, timeout : Time::Span | Float64 = DEFAULT_TIMEOUT, interval : Time::Span | Float64 = DEFAULT_INTERVAL, message : String | Nil = nil, ignored : Array(Exception.class) = [] of Exception.class) #

[View source]

Class Method Detail

def self.until(**options, &block : -> U) forall U #

[View source]

Instance Method Detail

def ignored : Array(Exception.class) #

[View source]
def ignored=(ignored : Array(Exception.class)) #

[View source]
def interval : Float64 #

[View source]
def interval=(interval : Float64) #

[View source]
def message : String | Nil #

[View source]
def message=(message : String | Nil) #

[View source]
def timeout : Float64 #

[View source]
def timeout=(timeout : Float64) #

[View source]
def until(&block : -> U) forall U #

[View source]