File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ extension CheckedContinuation where T == Void {
162
162
/// After `resume` enqueues the task, control is immediately returned to
163
163
/// the caller. The task will continue executing when its executor is
164
164
/// able to reschedule it.
165
+ @inlinable
165
166
public func resume( ) {
166
167
self . resume ( returning: ( ) )
167
168
}
@@ -271,6 +272,7 @@ extension CheckedThrowingContinuation where T == Void {
271
272
/// After `resume` enqueues the task, control is immediately returned to
272
273
/// the caller. The task will continue executing when its executor is
273
274
/// able to reschedule it.
275
+ @inlinable
274
276
public func resume( ) {
275
277
self . resume ( returning: ( ) )
276
278
}
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public struct UnsafeContinuation<T> {
35
35
}
36
36
37
37
extension UnsafeContinuation where T == Void {
38
+ @inlinable
38
39
public func resume( ) {
39
40
self . resume ( returning: ( ) )
40
41
}
@@ -65,6 +66,7 @@ public struct UnsafeThrowingContinuation<T> {
65
66
}
66
67
67
68
extension UnsafeThrowingContinuation where T == Void {
69
+ @inlinable
68
70
public func resume( ) {
69
71
self . resume ( returning: ( ) )
70
72
}
You can’t perform that action at this time.
0 commit comments