function Promise.prototype.doneCall(A,U,...)assert(isCallable(U),string.format(ERROR_NON_FUNCTION,"\080\114\111\109\105\115\101\058\100\111\110\101\067\097\108\108"))local O,p=pack(...)return A:_finally(debug.traceback(nil,2),function()return U(unpack(p,1,O))end,true)end

function Promise.prototype:doneCall(callback, ...)
	assert(isCallable(callback), string.format(ERROR_NON_FUNCTION, "Promise:doneCall"))
	local length, values = pack(...)
	return self:_finally(debug.traceback(nil, 2), function()
		return callback(unpack(values, 1, length))
	end, true)
end
