Typings for input/output (via TypeScript Generics) ![]() This part of the library is currently experimental and might break in the future, even in a minor version upgrade while the version has not reached 1.0. Then provide the class to the option concurrency. Copy one of the files of the concurrency/built-in directory and implement ConcurrencyImplementation. You can create your own concurrency implementation. If one browser instance crashes for any reason, this will not affect other jobs. One browser (using an incognito page) per URL. Incognito page (see IncognitoBrowserContext) for each URL Shares everything (cookies, localStorage, etc.) between jobs. The default option is Cluster.CONCURRENCY_CONTEXT, but it is recommended to always specify which one you want to use. You can set it in the options when calling Cluster.launch. There are different concurrency models, which define how isolated each job is run.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |