LocalEventManager
Hierarchy
- EventManager
- LocalEventManager
Index
Constructors
constructor
Parameters
config: Configuration = ...
Returns LocalEventManager
Properties
readonlyinheritedconfig
Methods
close
Returns Promise<void>
inheritedemit
Parameters
event: EventTypeName
rest...args: unknown[]
Returns void
init
Initializes the EventManager and sets up periodic
systemInfo
andpersistState
events. This is automatically called at the beginning ofcrawler.run()
.Returns Promise<void>
inheritedisInitialized
Returns boolean
inheritedoff
Parameters
event: EventTypeName
optionallistener: (...args: any[]) => any
Returns void
inheritedon
Parameters
event: EventTypeName
listener: (...args: any[]) => any
Returns void
Clears the internal
persistState
event interval. This is automatically called at the end ofcrawler.run()
.