(match? expected
actual
&
[{:keys [times-to-try] :or {times-to-try 1} :as params}])
Builds a state-flow assertion using matcher-combinators.
Given (> :times-to-try 1), match? will use state-flow-probe/probe
to
retry :times-to-try times with :sleep-time
See state-flow.probe/probe
for more info
Builds a state-flow assertion using matcher-combinators. - expected can be a literal value or a matcher-combinators matcher - actual can be a literal value, a primitive step, or a flow - params is an optional map supporting: - :times-to-try optional, default 1 - :sleep-time optional, default 200 Given (> :times-to-try 1), match? will use `state-flow-probe/probe` to retry :times-to-try times with :sleep-time See `state-flow.probe/probe` for more info
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close