window.WritableStreamDefaultController

See: Web APIs - WritableStreamDefaultController

signal : AbortSignal

Returns AbortSignal that can be used to abort the pending write or close operation when the stream is aborted.

error(message)

Closes the controlled writable stream, making all future interactions with it fails with the given error.

ParamType
message
string
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.