-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
Hi, struggling with the semantics for progress block
Here are two scenarios:
getFile()
.then(uploadFile)
.progress {
/// Not getting called
}
getFile()
.then {
self.uploadFile(fileUrl: $0)
.progress {
/// Called OK
}
}
Is this the expected behavior? Or am I doing something wrong in the first case?
Thanks