Pass value over Promise in Swift – Ios swift
I have a Promise chain like this firstly { Network.shared.getInfo() } .then { info in Network.shared.getUserDetail(info) } .then { detail in Network.shared.getAddOn(detail) } .done { addOn in //do stuff with addOn } .catch { error in } and I need…