Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.getCustomer(customerNumber: customerIds.customerNo)
- .observe(on: UIScheduler())
- .on(failed: { error in
- // todo: log error
- print("Failed : \(error.localizedDescription)")
- }, value: { customer in
- //get the customer in here
- print("Customer : \(customer)")
- .. do stuff with the Customer object(s) ..
- })
- .start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement