LocalEventManager
Hierarchy
- EventManager
- LocalEventManager
Index
Constructors
Methods
Constructors
constructor
Parameters
options: LocalEventManagerOptions
Returns LocalEventManager
Methods
close
Returns Promise<void>
inheritedemit
Parameters
event: EventTypeName
rest...args: unknown[]
Returns void
init
Initializes the EventManager and sets up periodic
systemInfoevents. This is automatically called at the beginning ofcrawler.run().Returns Promise<void>
inheritedisInitialized
Returns boolean
inheritedoff
Parameters
event: EventTypeName
optionallistener: (...args) => any
Returns void
inheritedon
Parameters
event: EventTypeName
listener: (...args) => any
Returns void
staticfromConfiguration
Creates a new
LocalEventManagerbased on the providedConfiguration. Uses the global configuration from the service locator if none is provided.Parameters
optionalconfiguration: Configuration
Returns LocalEventManager
Clears the internal
persistStateevent interval. This is automatically called at the end ofcrawler.run().