Spec-Zone.ru › Deno 1

WritableStreamDefaultController

This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.

interface WritableStreamDefaultController {
signal: AbortSignal;
error(error?: any): void;
}
var WritableStreamDefaultController: WritableStreamDefaultController;

Properties

signal: AbortSignal

Methods

error(error?: any): void

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/WritableStreamDefaultController

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API