GitXplorerGitXplorer
e

AsyncPublisher

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
231646a95ff9e03601c10c33dd2103b69a70c56f

update doc comments.

eelmetal committed 4 years ago
Unverified
8d2c3af96d8d177c87dc5cd6fe5ff56a653ca4b8

add the file and doc comments.

eelmetal committed 4 years ago
Unverified
a3343fe5faf3a9eba5f9600f2a435bde32f9d729

update usage

eelmetal committed 4 years ago
Unverified
263b01cf9ef68db89a3defa06360e4d44852c844

implementation and testing

eelmetal committed 4 years ago
Unverified
e4e96c59a6254397dec3dcd71a0780aa4ed1d176

first commit

eelmetal committed 4 years ago
Verified
113031bd5a724425217aa0eae75d684e64dfc5ed

Initial commit

eelmetal committed 4 years ago

README

The README file for this repository.

AsyncPublisher

Publisher waiting for data fetching like URLSession.DataTaskPublisher.

Usage

 URLSession.shared.dataTaskPublisher(for: URL(string: "https://example.com")!)
     .await(timeout: .now() + .seconds(10))
     .sink(receiveCompletion: { _ in },
           receiveValue: { print($0) })
     .store(in: &cancellables)