jobStoreFor function

FileJobStore jobStoreFor(
  1. ServerConfig config
)

The file store the FileJobStore needs, so a caller can reconcile jobs on boot without rebuilding the whole graph.

Implementation

FileJobStore jobStoreFor(ServerConfig config) =>
    FileJobStore(Directory('${config.localStorageDir}/.jobs'));