Skip to content

Instantly share code, notes, and snippets.

@akio0911
Created July 2, 2020 14:36
Show Gist options
  • Select an option

  • Save akio0911/2acf210aeffe1c304a638546f3b781cd to your computer and use it in GitHub Desktop.

Select an option

Save akio0911/2acf210aeffe1c304a638546f3b781cd to your computer and use it in GitHub Desktop.
Observable
.merge(
stringStream.map { Value.string($0) },
intStream.map { Value.int($0) }
)
.debounce(.seconds(1), scheduler: MainScheduler.instance)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment