mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			517 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			517 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Streams/WritableStream.idl>
 | |
| 
 | |
| // https://streams.spec.whatwg.org/#writablestreamdefaultwriter
 | |
| [Exposed=*]
 | |
| interface WritableStreamDefaultWriter {
 | |
|     constructor(WritableStream stream);
 | |
| 
 | |
|     readonly attribute Promise<undefined> closed;
 | |
|     readonly attribute unrestricted double? desiredSize;
 | |
|     readonly attribute Promise<undefined> ready;
 | |
| 
 | |
|     Promise<undefined> abort(optional any reason);
 | |
|     Promise<undefined> close();
 | |
|     undefined releaseLock();
 | |
|     Promise<undefined> write(optional any chunk);
 | |
| };
 | 
