mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:02:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			596 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			596 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Streams/ReadableStreamBYOBReader.idl>
 | |
| #import <Streams/ReadableStreamDefaultReader.idl>
 | |
| 
 | |
| // https://streams.spec.whatwg.org/#readablestream
 | |
| [Exposed=*, Transferable]
 | |
| interface ReadableStream {
 | |
|     // FIXME: optional QueuingStrategy strategy = {}
 | |
|     constructor(optional object underlyingSource);
 | |
| 
 | |
|     readonly attribute boolean locked;
 | |
| 
 | |
|     Promise<undefined> cancel(optional any reason);
 | |
|     // FIXME: optional ReadableStreamGetReaderOptions options = {}
 | |
|     ReadableStreamReader getReader();
 | |
| };
 | |
| 
 | |
| typedef (ReadableStreamDefaultReader or ReadableStreamBYOBReader) ReadableStreamReader;
 | 
