Skip to content

Releases: tiny2n/Await

Supported SPM

08 Jul 03:38
129b17d

Choose a tag to compare

1.2.0

@discardableResult

1.1.2

17 May 05:14

Choose a tag to compare

Supported: build libraries for distribution YES

Await Task Support

14 Oct 15:18

Choose a tag to compare

Await Task Support

final public class AwaitTask<Value> {
    private var value: Value
    
    public init(value: Value) {
        self.value = value
    }
    
    public func await() -> Value {
        return value
    }
}

public func await<Value>(_ task: AwaitTask<Value>) throws -> Value {
    return task.await()
}

Concurrent Support

25 Jul 04:08

Choose a tag to compare

Await Concurrent Support

Supported: Carthage

18 Apr 09:03

Choose a tag to compare

Supported: Carthage

1.0.0

31 Aug 04:46

Choose a tag to compare

init