Type alias CrawlerAction<T>
Crawler
Action
<T>: (({
page,
targets,
path,
}
: { page
: Page; path
: string[]; targets
: Set<string>; }) => Promise<T>)
Type declaration
-
- ({
page,
targets,
path,
}: {
page: Page;
path: string[];
targets: Set<string>;
}): Promise<T>
-
Parameters
-
{
page,
targets,
path,
}: {
page: Page;
path: string[];
targets: Set<string>;
}
-
-
path: string[]
-
targets: Set<string>
Returns Promise<T>
The current page.