mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:52:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			454 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			454 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Streams/QueuingStrategy.idl>
 | |
| #import <Streams/WritableStreamDefaultWriter.idl>
 | |
| 
 | |
| // https://streams.spec.whatwg.org/#writablestream
 | |
| [Exposed=*, Transferable]
 | |
| interface WritableStream {
 | |
|     constructor(optional object underlyingSink, optional QueuingStrategy strategy = {});
 | |
| 
 | |
|     readonly attribute boolean locked;
 | |
| 
 | |
|     Promise<undefined> abort(optional any reason);
 | |
|     Promise<undefined> close();
 | |
|     WritableStreamDefaultWriter getWriter();
 | |
| };
 | 
