function Promise.promisify(G)return function(...)return Promise._try(debug.traceback(nil,2),G,...)end end

function Promise.promisify(callback)
	return function(...)
		return Promise._try(debug.traceback(nil, 2), callback, ...)
	end
end
