Closed takenaoki closed 3 years ago
This is due to the way promise resolves/rejects are always called in the next "tick" (setTimeout) after resolve/rejection in JS, but RSG.Promise evaluates immediately without waiting a "tick" (as there usually is no such thing in C# as the event loop. But AFAIR you can implement the event loop yourself and tell RSG.Promise to utilize it). (See A+ spec, note 3.1: https://promisesaplus.com/#point-67)
@zsoi Thank you for answering!
Different results for javascript.Promise and C-Sharp-Promise.
Is there any problem?
javascript
C-Sharp-Promise