Files
kiss-flixel/feedback-server/externs/js/html/WritableStream.hx

12 lines
539 B
Haxe
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package js.html;
/**
This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
**/
@:native("WritableStream") extern class WritableStream<W> {
function new<W>(?underlyingSink:UnderlyingSink<W>, ?strategy:QueuingStrategy<W>);
final locked : Bool;
function abort(?reason:Dynamic):js.lib.Promise<ts.Undefined>;
function getWriter():WritableStreamDefaultWriter<W>;
static var prototype : WritableStream<Dynamic>;
}