Method: FDB::Database#set_and_watch
- Defined in:
- lib/fdbimpl.rb
#set_and_watch(key, value) ⇒ Object
636 637 638 639 640 641 |
# File 'lib/fdbimpl.rb', line 636 def set_and_watch(key, value) transact do |tr| tr.set(key, value) tr.watch(key) end end |