The AsyncExtensions target is a growing collection of useful functions and classes that take advantage of Swift's new Concurrency features.
The AsyncExtensions package also inlcudes the AsyncTestExtensions target, which contains async-friendly wrappers around XCTest assertions.
AsyncInputStream: A convenient wrapper around
InputStreamallowing for simple, type-safe access to stream data.
To use AsyncExtensions, add a dependency to your Package.swift file:
let package = Package( dependencies: [ .package( name: "AsyncExtensions", url: "https://github.com/shareup/async-extensions.git", from: "1.1.0" ) ] )
To use AsyncTestExtensions in a test target, add it as a dependency:
.testTarget( name: "MyTests", dependencies: [ .product(name: "AsyncTestExtensions", package: "AsyncExtensions") ] )
The license for Database is the standard MIT licence. You can find it in the LICENSE file.