cancel method

The cancel method initiates the cancel method of the readable steam. The lock is released as a result of this method.

Syntax

var retval = ReadableStreamReader.cancel();

Parameters

This method has no parameters.

Return value

Type: Promise<void>

A rejected promise.

Standards information

See also

ReadableStreamReader