Open ytx0574 opened 3 months ago
Hello @ytx0574 Can you provide more details, please?
isPending isFulfilled isRejected here is not the public var. When I use these attributes, is often needed to condition my code when I use these properties
Hello @ytx0574
Thank you for the details. Are you using AnyPromise
? If so, please consider migration to Promise
, AnyPromise
should be used in Objective-C only. But anyway, AnyPromise(__value: 100).isPending
works for me in Swift.
OC exposes the acquisition of isPending isFulfilled isRejected value, why not Swift?