wing
wing copied to clipboard
Console allows resource interactions while app is loading
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.
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!