winglang/wing

Support intervals with Wing

Open

#7.090 aberto em 9 de set. de 2024

Ver no GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (214 forks)github user discovery
good first issue✨ enhancement🛠️ compiler

Métricas do repositório

Stars
 (5.385 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador