Files
swift-mirror/test/Concurrency/Runtime/Inputs/resilient_protocol.swift
Slava Pestov 72e1f02ae2 IRGen: Fix async dispatch thunk emission with loadable return value
Fixes <rdar://problem/74246091>.
2021-02-12 14:06:07 -05:00

8 lines
187 B
Swift

public protocol Awaitable {
associatedtype Result
func waitForNothing() async
func waitForInt() async -> Int
func wait() async -> Result
func wait(orThrow: Bool) async throws
}