Class: FileSystemCheckpointer

fabric-network~ FileSystemCheckpointer

Created a checkpointer in a file per event listener

new FileSystemCheckpointer(channelName, listenerName [, options])

Parameters:
Name Type Argument Description
channelName string
listenerName string The name of the listener being checkpointer
options module:fabric-network.FileSystemCheckpointer~FileSystemCheckpointerOptions <optional>

Extends

  • module:fabric-network~BaseCheckpointer

Methods


<async> load()


<async> loadLatestCheckpoint()


<async> save()

Type Definitions


FileSystemCheckpointerOptions

Properties:
Name Type Argument Description
basePath string <optional>
The directory that will store the checkpoint
maxLength number <optional>
The maximum number of blocks that can be in the checkpointer