Closed xjay111 closed 5 years ago
Sometimes i want to abort a searching task , how can i do that?
Save the search id then cancel the task Example: var instanceId = easystar.findPath(startX, startY, endX, endY, callback); easystar.cancelPath(instanceId);
var instanceId = easystar.findPath(startX, startY, endX, endY, callback); easystar.cancelPath(instanceId);
Thanks fir resonse . Already fix that .
Sometimes i want to abort a searching task , how can i do that?