Kreuzcrawl. CrawlEvent
(kreuzcrawl v0.3.0-rc.42)
Copy Markdown
An event emitted during a streaming crawl operation.
Not available on wasm32 targets — streaming requires native concurrency
primitives (tokio channels, JoinSet) that are not supported on wasm32.
Delivered to bindings via alef's streaming-adapter pattern. The
crawl_stream / batch_crawl_stream binding wrappers in bindings.rs
expose this as the per-language streaming idiom (Python AsyncIterator,
Ruby Enumerator, PHP Generator, Elixir Stream.unfold, etc.).
Summary
Types
The crawl has completed.
An error occurred while crawling a URL.
A single page has been crawled.
An event emitted during a streaming crawl operation.
Types
@type complete() :: %{type: :complete, pages_crawled: non_neg_integer()}
The crawl has completed.
An error occurred while crawling a URL.
@type page() :: %{type: :page, result: Kreuzcrawl.CrawlPageResult.t()}
A single page has been crawled.
@type t() :: term()
An event emitted during a streaming crawl operation.