Procedure returning a promise.
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
This is the implementation I made for an asynchronous procedure to return a promise.
I know it goes against the concepts of pascal, allowing a procedure to return something, but with this implementation I can use await in a procedure.
Consider whether this is interesting to incorporate into the compiler, in my local repository, everything works as expected.
Mantis conversion info:
- Mantis ID: 38962
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Pas2Js