Author: Not specified Language: javascript
Description: (v22) Timestamp: 2018-06-12 22:28:33 +0000
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply
  1. let futureResult = user.save()
  2. futureResult.do { user in
  3.     print("User was saved")
  4. }.catch { error in
  5.     print("There was an error saving the user: \(error)")
  6. }
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply