Files
swift-mirror/test/IRGen/async/Inputs/resilient_protocol.swift
Slava Pestov c79de40225 IRGen: Emit async function pointers for resilient class and protocol dispatch thunks
This adds new kinds of link entities corresponding to the three
dispatch thunk link entity kinds:

- DispatchThunkAsyncFunctionPointer
- DispatchThunkInitializerAsyncFunctionPointer
- DispatchThunkAllocatorAsyncFunctionPointer
2021-01-27 15:21:22 -05:00

5 lines
84 B
Swift

public protocol Awaitable {
associatedtype Result
func wait() async -> Result
}