winglang/wing

Support intervals with Wing

Open

#7 090 ouverte le 9 sept. 2024

Voir sur GitHub
 (3 commentaires) (1 réaction) (0 assignés)TypeScript (214 forks)github user discovery
good first issue✨ enhancement🛠️ compiler

Métriques du dépôt

Stars
 (5 385 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur