function Promise.prototype.done(j,N)assert(N==nil or type(N)=="\102\117\110\099\116\105\111\110",string.format(ERROR_NON_FUNCTION,"\080\114\111\109\105\115\101\058\100\111\110\101"))return j:_finally(debug.traceback(nil,2),N,true)end Promise.prototype.Done=Promise.prototype.done

function Promise.prototype:done(finallyHandler)
	assert(
		finallyHandler == nil or type(finallyHandler) == "function",
		string.format(ERROR_NON_FUNCTION, "Promise:done")
	)
	return self:_finally(debug.traceback(nil, 2), finallyHandler, true)
end
Promise.prototype.Done = Promise.prototype.done
