abstractEventManager
Hierarchy
- EventManager
- LocalEventManager
Index
Constructors
constructor
Parameters
config: Configuration = ...
Returns EventManager
Properties
readonlyconfig
Methods
close
Returns Promise<void>
emit
Parameters
event: EventTypeName
rest...args: unknown[]
Returns void
init
Initializes the event manager by creating the
persistState
event interval. 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()
.