Preparing search index...
The search index is not available
Aleph Indexer Framework for Solana/Ethereum/BSC
Aleph Indexer Framework for Solana/Ethereum/BSC
Indexer Core
Utils
JobRunner
Class JobRunner
Hierarchy
JobRunner
Index
Constructors
constructor
Properties
_events
_finished
_is
Running
options
Methods
has
Finished
log
on
run
start
stop
Constructors
constructor
new
Job
Runner
(
options
:
JobRunnerOptions
)
:
JobRunner
Parameters
options:
JobRunnerOptions
Returns
JobRunner
Properties
Private
_events
_events
:
EventEmitter
= ...
Private
_finished
_finished
:
Future
<
void
>
= ...
Private
_is
Running
_is
Running
:
boolean
= false
Protected
options
options
:
Required
<
JobRunnerOptions
>
Methods
has
Finished
has
Finished
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
log
log
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
on
on
(
event
:
"beforeSleep"
|
"firstRun"
, handler
:
(
(
...
args
:
any
[]
)
=>
void
|
Promise
<
void
>
)
)
:
JobRunner
Parameters
event:
"beforeSleep"
|
"firstRun"
handler:
(
(
...
args
:
any
[]
)
=>
void
|
Promise
<
void
>
)
(
...
args
:
any
[]
)
:
void
|
Promise
<
void
>
Parameters
Rest
...
args:
any
[]
Returns
void
|
Promise
<
void
>
Returns
JobRunner
run
run
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
Aleph
Indexer
Framework for
Solana/
Ethereum/BSC
Bsc
Indexer
Framework
Ethereum
Indexer
Framework
Indexer
Core
Utils
Indexer
Framework
Solana
Indexer
Framework
buffer
Layouts
Job
Runner
constructor
_events
_finished
_is
Running
options
has
Finished
log
on
run
start
stop
Generated using
TypeDoc