Constructs a stateful module. This naming refers to a nest injectable
service that is populated with state data at runtime.
The StateService is used internally to execute mongo database
queries against the states
collection.
Requires state information of the module. This object is typically populated upon first execution and updated any time later.
Getter for the discovery state identifier, e.g.
"discovery.accounts", "discovery.transactions",
"payout.outputs" etc.
This method must be implemented by extended classes
to create the correct state query for this discovery
service.
This method uses the logger to print debug messages.
This method uses the logger to print error messages.
Optionally, a stack
can be passed to print a stack trace.
This helper method should return the latest execution state
such that it can be saved.
Execution states refer to one module's required state data,
potentially necessary during execution, and which is fetched
in run before execution and updated in run
after execution (using the name
as an identifier).
Creates a state query for this discovery service. Each discovery service shall set its own stateIdentifier which is considered the identifier of the discovery module's state document.
This method uses the logger to print info messages.
Generated using TypeDoc
This concern requires the presence of fields that consist in delivering module-able information or information that is scoped/focussed in several submodules.
v0.1.0