class Async::HTTP::Pool
def create
def create begin # This might fail, which is okay :) resource = @constructor.call rescue Async.logger.error "#{$!}: #{$!.backtrace}" return nil end @available[resource] = 1 return resource end
def create begin # This might fail, which is okay :) resource = @constructor.call rescue Async.logger.error "#{$!}: #{$!.backtrace}" return nil end @available[resource] = 1 return resource end