Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdks/rust.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ The Rust SDK currently targets v1. To use `sitemap: "only"`, call the v2 endpoin

<CrawlSitemapOnlyRust />

#### Crawling asynchronously
### Crawling Asynchronously

To crawl without waiting for the result, use the `crawl_url_async` method. It takes the same parameters, but it returns a `CrawlAsyncRespone` struct, containing the crawl's ID. You can use that ID with the `check_crawl_status` method to check the status at any time. Do note that completed crawls are deleted after 24 hours.
To crawl without waiting for the result, use the `crawl_url_async` method. It accepts the same parameters as `crawl_url` but returns a `CrawlAsyncRespone` struct containing the crawl's ID. Pass that ID to `check_crawl_status` to poll progress at any time. Completed crawls are deleted after 24 hours.

<CrawlAsyncRustShort />

Expand Down