Skip to main content
Version: 3.27.2

WritableStreamDefaultWriter.releaseLock()

The releaseLock() method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream. After the lock is released, the writer is no longer active. If the associated stream is errored when the lock is released, the writer will appear errored in the same way from now on; otherwise, the writer will appear closed.

Syntax

releaseLock()

Parameters

None.

Return value

None undefined.