findPath
Last updated
Last updated
• Docs
/ / findPath
findPath(
start
,target
,resolver
):Promise
< |null
>
Find a path between two pulses
This function is a convenience function that uses the crawl
function to find a path between two pulses. It will return a path if one is found, or null if no path is found.
start
The starting pulse, or a query for the starting pulse
target
The target pulse, or a query for the target pulse
resolver
The resolver to use for resolving pulses
Promise
< | null
>
A path if one is found, or null if no path is found