ClosurePublisher

0.0.1

📡 Combine Publisher for closure results
tgymnich/ClosurePublisher

What's New

First release

2019-07-10T21:13:53Z

ClosurePublisher

Simple publisher you can use to publish the result of a closure.

let publisher = Publishers.Closure(closure: { return 1 } 

Usage

// swift-tools-version:5.0
import PackageDescription

let package = Package(
  name: "MyTool",
  dependencies: [
    .package(url: "https://github.com/TG908/ClosurePublisher.git", .from: "0.0.1"),
  ],
  targets: [
    .target(name: "MyTool", dependencies: ["ClosurePublisher"]),
  ]
)

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Jun 30 2022 01:31:18 GMT-0500 (GMT-05:00)