Skip to content

Commit fdcf6e2

Browse files
committed
opened syncThroughAsync
1 parent be14459 commit fdcf6e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ExecutionContext/ExecutionContext.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public extension ExecutionContextProtocol {
101101

102102
import RunLoop
103103

104-
extension ExecutionContextProtocol {
105-
func syncThroughAsync<ReturnType>(task:@escaping TaskWithResult<ReturnType>) rethrows -> ReturnType {
104+
public extension ExecutionContextProtocol {
105+
public func syncThroughAsync<ReturnType>(task:@escaping TaskWithResult<ReturnType>) rethrows -> ReturnType {
106106
if isCurrent {
107107
return try task()
108108
}

0 commit comments

Comments
 (0)