(0)| 11/27/2023 7:32 PM | |
|
Joined: 1/21/2013 Last visit: 1/17/2026 Posts: 4405 Rating:
|
Hi gigiA, The ReadFile method is an asynchronous operation that returns a Promise object. Therefore, it is desirable behavior to continue code execution even if the Promise is not set. If you really want to wait, you can set an await statement before the ReadFile call. A completed read operation is handled by the than handler, while an erroneous execution is handled by the catch handler. Kind regards |
This contribution was helpful to
|
|
Follow us on