Structures
The following structures are available globally.
-
Additional struct with utility methods to work with coroutines.
Important
All methods must be called inside a coroutine, otherwiseCoroutineError.mustBeCalledInsideCoroutine
will be thrown.Declaration
Swift
public struct Coroutine