@@ -52,7 +52,8 @@ public class JSOneshotClosure: JSObject, JSClosureProtocol {
5252@available ( macOS10 . 15 , iOS13 . 0 , watchOS6 . 0 , tvOS13 . 0 , * )
5353public static func async (
5454 priority: TaskPriority ? = nil ,
55- file: String = #fileID, line: UInt32 = #line,
55+ file: String = #fileID,
56+ line: UInt32 = #line,
5657 _ body: sending @escaping ( sending[ JSValue ] ) async throws ( JSException) -> JSValue
5758) -> JSOneshotClosure {
5859JSOneshotClosure ( file: file, line: line, makeAsyncClosure ( priority: priority, body) )
@@ -68,10 +69,15 @@ public class JSOneshotClosure: JSObject, JSClosureProtocol {
6869public static func async (
6970 executorPreference taskExecutor: ( any TaskExecutor ) ? = nil ,
7071 priority: TaskPriority ? = nil ,
71- file: String = #fileID, line: UInt32 = #line,
72+ file: String = #fileID,
73+ line: UInt32 = #line,
7274 _ body: @Sendable @escaping ( sending [ JSValue] ) async throws ( JSException ) -> JSValue
7375) -> JSOneshotClosure {
74- JSOneshotClosure ( file: file, line: line, makeAsyncClosure ( executorPreference: taskExecutor, priority: priority, body) )
76+ JSOneshotClosure (
77+ file: file,
78+ line: line,
79+ makeAsyncClosure ( executorPreference: taskExecutor, priority: priority, body)
80+ )
7581}
7682#endif
7783
@@ -168,7 +174,8 @@ public class JSClosure: JSFunction, JSClosureProtocol {
168174@available ( macOS10 . 15 , iOS13 . 0 , watchOS6 . 0 , tvOS13 . 0 , * )
169175public static func async (
170176 priority: TaskPriority ? = nil ,
171- file: String = #fileID, line: UInt32 = #line,
177+ file: String = #fileID,
178+ line: UInt32 = #line,
172179 _ body: sending @escaping @isolated ( any) ( sending[ JSValue ] ) async throws ( JSException) -> JSValue
173180) -> JSClosure {
174181JSClosure ( file: file, line: line, makeAsyncClosure ( priority: priority, body) )
@@ -184,7 +191,8 @@ public class JSClosure: JSFunction, JSClosureProtocol {
184191public static func async (
185192 executorPreference taskExecutor: ( any TaskExecutor ) ? = nil ,
186193 priority: TaskPriority ? = nil ,
187- file: String = #fileID, line: UInt32 = #line,
194+ file: String = #fileID,
195+ line: UInt32 = #line,
188196 _ body: sending @escaping ( sending[ JSValue ] ) async throws ( JSException) -> JSValue
189197) -> JSClosure {
190198JSClosure ( file: file, line: line, makeAsyncClosure ( executorPreference: taskExecutor, priority: priority, body) )