wing icon indicating copy to clipboard operation
wing copied to clipboard

Console allows resource interactions while app is loading

Open eladcon opened this issue 8 months ago • 1 comments

I tried this:

Run this code. Notice the Invoke button on the cloud.Function is enabled while the app is still loading.

bring cloud;
bring util;
let s = new cloud.Service(inflight () => {
  log("service starts");
  util.sleep(15s);
  log("service ends");
});
let f = new cloud.Function(inflight () => {
  log("function invoked");
});

This happened:

The Invoke button on the cloud.Function is enabled while the app is still loading.

I expected this:

No response

Is there a workaround?

No response

Anything else?

No response

Wing Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.

eladcon avatar Jun 27 '24 13:06 eladcon