CombineAsyncually
CombineAsyncually copied to clipboard
A demonstration for bridging between Combine and your new async functions
Results
2
CombineAsyncually issues
Sort by
recently updated
recently updated
newest added
I get this is a demo but why not simply use the Future builder? ``` func TaskPublisher(closure: () async throws -> T) -> AnyPublisher { Deferred { Future { emitter...
quickly translated to swift ``` Flow { emitter in await Task.sleep(10_000_000) emitter.emit(42) } ``` when the closure returns, the stream completes