wing icon indicating copy to clipboard operation
wing copied to clipboard

Console allows resource interactions while app is loading

Open eladcon opened this issue 1 year 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

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] avatar Sep 30 '24 06:09 github-actions[bot]