Skip to content

Commit

Permalink
Merge 8d243f3 into 1c98f75
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Aug 18, 2021
2 parents 1c98f75 + 8d243f3 commit 8a5dc42
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/transport.js
Expand Up @@ -29,12 +29,11 @@ function setupOnExit (stream) {
}
}

function buildStream (filename, workerData, workerOpts) {
function buildStream (filename, workerData, workerOpts, streamOpts = {}) {
const stream = new ThreadStream({
filename,
workerData,
workerOpts,
sync: true // TODO should this be configurable?
workerOpts
})

stream.on('ready', function () {
Expand Down

0 comments on commit 8a5dc42

Please sign in to comment.