Skip to content

feat: add abort controller usage - #49

Open
pohsiu wants to merge 1 commit into
marlove:masterfrom
pohsiu:master
Open

pohsiu wants to merge 1 commit into
marlove:masterfrom
pohsiu:master

Conversation

@pohsiu

@pohsiu pohsiu commented Sep 28, 2023

Copy link
Copy Markdown

Make Geocoder is abortable by integrated the AbortController

Example

const isProcessing = Geocoder.isProcessing()
if (isProcessing) {
 Geocoder.abort()
}

Goal

If scenario is frequently re-request the geocoder will fit this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant