function Promise.prototype.finallyCall(B,F,...)assert(isCallable(F),string.format(ERROR_NON_FUNCTION,"\080\114\111\109\105\115\101\058\102\105\110\097\108\108\121\067\097\108\108"))local N,j=pack(...)return B:_finally(debug.traceback(nil,2),function()return F(unpack(j,1,N))end)end

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