SHARE
TWEET

Untitled

a guest Jul 16th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. self.getCustomer(customerNumber: customerIds.customerNo)
  2.             .observe(on: UIScheduler())
  3.             .on(failed: { error in
  4.                 // todo: log error
  5.                 print("Failed : \(error.localizedDescription)")
  6.             }, value: { customer in
  7.                 //get the customer in here
  8.                 print("Customer : \(customer)")
  9.                 .. do stuff with the Customer object(s) ..
  10.             })
  11.             .start();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top