Skip to main content
Version: 3.12

abstractEventManager

Hierarchy

Index

Constructors

constructor

Properties

readonlyconfig

config: Configuration = ...

Methods

close

  • close(): Promise<void>
  • Clears the internal persistState event interval. This is automatically called at the end of crawler.run().


    Returns Promise<void>

emit

  • emit(event, ...args): void

init

  • init(): Promise<void>
  • Initializes the event manager by creating the persistState event interval. This is automatically called at the beginning of crawler.run().


    Returns Promise<void>

isInitialized

  • isInitialized(): boolean
  • Returns boolean

off

  • off(event, listener): void
  • Parameters

    Returns void

on

  • on(event, listener): void
  • Parameters

    Returns void