Skip to content

Instantly share code, notes, and snippets.

@vincent-pradeilles
Created August 12, 2017 12:28
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 vincent-pradeilles/3fdbbc0928c896cb16b1a6daea1e3e2a to your computer and use it in GitHub Desktop.
Save vincent-pradeilles/3fdbbc0928c896cb16b1a6daea1e3e2a to your computer and use it in GitHub Desktop.
fromAsync(request(arg1:arg2:completionHandler:))("Foo", 3).subscribe(onNext: { (result) in
// do something with result
}).addDisposableTo(DisposeBag())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment