Skip to content

Instantly share code, notes, and snippets.

@lukeredpath
Created August 24, 2020 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukeredpath/8072faa389dfe64a6bd43cd92f50ee25 to your computer and use it in GitHub Desktop.
Save lukeredpath/8072faa389dfe64a6bd43cd92f50ee25 to your computer and use it in GitHub Desktop.
struct TaggedOutput<Output> {
let token: AnyHashable
let output: Output
}
struct Effect<Output>: Publisher {
typealias Failure = Never
let base: AnyPublisher<TaggedOutput<Output>, Failure>
let token: AnyHashable
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment