LocalEventManager
Hierarchy
- EventManager
- LocalEventManager
Index
Constructors
constructor
Parameters
config: Configuration = ...
Returns LocalEventManager
Properties
readonlyconfig
Methods
close
Returns Promise<void>
emit
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>
isInitialized
Returns boolean
off
Parameters
event: EventTypeName
optionallistener: (...args: any[]) => any
Returns void
on
Parameters
event: EventTypeName
listener: (...args: any[]) => any
Returns void
Clears the internal
persistState
event interval. This is automatically called at the end ofcrawler.run()
.