Skip to content

Commit

Permalink
Merge pull request #1 from evgarik/evgarik-patch-1
Browse files Browse the repository at this point in the history
Update Readme.md
  • Loading branch information
evgarik authored Mar 29, 2023
2 parents 09a3718 + ca25212 commit ff2cc81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const mapSlicer = new MapSlicer({
colors: 128, // (optional) See http://aheckmann.github.io/gm/docs.html#colors
gm: require('gm'), // (optional) Alternative way to specify the GraphicsMagic library
signal: new (require('abort-controller'))().signal // (optional) Signal to abort the map slicing process
concurrency:1 // (default: Infinity) Maximum parallel tasks to be run at the same time (warning: processes can consume a lot of memory!)
})

mapSlicer.on('start', (files, options) => console.info(`Starting to process ${files} files.`))
Expand Down

0 comments on commit ff2cc81

Please sign in to comment.