class Concurrent::AbstractExchanger

def do_exchange(value, timeout)

Returns:
  • (Object, CANCEL) - the value exchanged by the other thread; {CANCEL} on timeout
def do_exchange(value, timeout)
  raise NotImplementedError
end