| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <DOM/EventTarget.idl> | 
					
						
							| 
									
										
										
										
											2022-03-30 23:35:42 +03:00
										 |  |  | #import <DOM/EventHandler.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:27:19 +02:00
										 |  |  | // https://dom.spec.whatwg.org/#interface-AbortSignal | 
					
						
							| 
									
										
										
										
											2024-10-14 11:55:51 +02:00
										 |  |  | [Exposed=*] | 
					
						
							| 
									
										
										
										
											2021-09-02 02:12:49 +01:00
										 |  |  | interface AbortSignal : EventTarget { | 
					
						
							| 
									
										
										
										
											2024-02-20 20:51:29 +00:00
										 |  |  |     [NewObject] static AbortSignal abort(optional any reason); | 
					
						
							| 
									
										
										
										
											2024-02-26 17:52:32 +00:00
										 |  |  |     [Exposed=(Window,Worker), NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds); | 
					
						
							| 
									
										
										
										
											2024-05-13 18:52:46 +01:00
										 |  |  |     [NewObject] static AbortSignal _any(sequence<AbortSignal> signals); | 
					
						
							| 
									
										
										
										
											2021-09-02 02:12:49 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     readonly attribute boolean aborted; | 
					
						
							| 
									
										
										
										
											2021-12-10 20:05:12 +00:00
										 |  |  |     readonly attribute any reason; | 
					
						
							| 
									
										
										
										
											2021-12-10 19:48:51 +00:00
										 |  |  |     undefined throwIfAborted(); | 
					
						
							| 
									
										
										
										
											2021-09-02 02:12:49 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-01 01:09:11 +01:00
										 |  |  |     attribute EventHandler onabort; | 
					
						
							| 
									
										
										
										
											2021-09-02 02:12:49 +01:00
										 |  |  | }; |