Revision f6fd4b56
Added by Marc Dequènes about 14 years ago
- ID f6fd4b56b4cf3ba6ea2d94485ead18cd4379fb3b
bin/test_client | ||
---|---|---|
pp errors
|
||
pp results
|
||
# puts "Tadam: " + (ver1 == ver2 ? "same" : "different")
|
||
meet "waiter", :zzz
|
||
STDOUT.flush
|
||
on_success do
|
||
puts "OK compare stuff"
|
||
end
|
||
end
|
||
end
|
||
|
||
task "waiter" do
|
||
meet "compare stuff", :zzz
|
||
on_success do
|
||
puts "OK waiter"
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
[evol] Task-based client DSL §5 (allow running subtasks in callbacks, implement 'meet' command, and fixed a race btw)