module Isolator::ThreadFetch

def fetch(key, fallback = :__undef__)

def fetch(key, fallback = :__undef__)
  raise KeyError, "key not found: #{key}" if !key?(key) && fallback == :__undef__
  self[key] || fallback
end