Contents

richardpiazza/asyncplus

Swift library extending async/await concurrency features.

Usage

Passthrough Sequences:

Wrappers around Async[Throwing]Stream that maintain continuation/termination logic.

Passthrough Subjects

Swift actor that maintains references to multiple passthrough sequences. This allows for a shared publisher similar to Combine PassthroughSubject.

Current Value Subjects

Swift actor that maintains references to multiple streams. This allows for a shared publisher similar to Combine CurrentValueSubject.

Alternatives

Installation

This package is distributed using the Swift Package Manager. You can add it using Xcode or by listing it as a dependency in your Package.swift manifest:

let package = Package(
  ...
  dependencies: [
    .package(url: "https://github.com/richardpiazza/AsyncPlus.git", .upToNextMajor(from: "0.2.0")
  ],
  ...
  targets: [
    .target(
      name: "MyPackage",
      dependencies: [
        "AsyncPlus"
      ]
    )
  ]
)

Contribution

Contributions to AsyncPlus are welcomed and encouraged! See the Contribution Guide for more information.

Package Metadata

Repository: richardpiazza/asyncplus

Default branch: main

README: README.md