winglang/wing

Support intervals with Wing

Open

#7090 aperta il 9 set 2024

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)TypeScript (214 fork)github user discovery
good first issue✨ enhancement🛠️ compiler

Metriche repository

Star
 (5385 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Use Case

I'm trying to understand if I can use intervals with Wing, other programming languages have them

For example: A as a developer writing containerised code, maybe I want to setup an interval to hit an endpoint every X seconds

Proposed Solution

Maybe util.setInterval(func, duration) would work? Or something similar?

Only inflight support I imagine?

Implementation Notes

No response

Component

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.
  • If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out on the #dev channel in the Wing Discord.

Guida contributor