File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >2.0.1 </string >
18
+ <string >2.0.2 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |spec |
2
2
spec . name = 'HydraAsync'
3
- spec . version = '2.0.1 '
3
+ spec . version = '2.0.2 '
4
4
spec . summary = 'Promises & Await: Write better async in Swift'
5
5
spec . homepage = 'https://github.com/malcommac/Hydra'
6
6
spec . license = { :type => 'MIT' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -115,6 +115,11 @@ public class Promise<Value> {
115
115
self . bodyCalled = true
116
116
}
117
117
118
+ /// Initialize a promise in pending state.
119
+ public init ( ) {
120
+ self . state = . pending
121
+ self . bodyCalled = true
122
+ }
118
123
119
124
/// Initialize a new Promise in a rejected state with a specified error
120
125
///
You can’t perform that action at this time.
0 commit comments