Navmesh.FindClosestEdge equivalent using Recast graph?

Used to use FindClosestEdge() on my navagents to find cover. now this doesn’t work when I switched to this package’s Recast graph. Is there an equivalent command I can run? Or does anyone have another recommendation to achieve this?