Skip to content

Commit

Permalink
checkpoint: remove makeTransferable call
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Dec 30, 2022
1 parent ecd6065 commit e5e707b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/internal/webstreams/readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class ReadableStream {
extractSizeAlgorithm(size));

// eslint-disable-next-line no-constructor-return
return makeTransferable(this);
// return makeTransferable(this);
}

get [kIsDisturbed]() {
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/webstreams/transformstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class TransformStream {
}

// eslint-disable-next-line no-constructor-return
return makeTransferable(this);
// return makeTransferable(this);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/webstreams/writablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class WritableStream {
size);

// eslint-disable-next-line no-constructor-return
return makeTransferable(this);
// return makeTransferable(this);
}

/**
Expand Down

1 comment on commit e5e707b

@metcoder95
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternative will be to make it lazy transferrable instead, or that's something that can have side-effects?

Please sign in to comment.