winglang/wing

Support intervals with Wing

Open

#7,090 建立於 2024年9月9日

在 GitHub 查看
 (3 留言) (1 反應) (0 負責人)TypeScript (214 fork)github user discovery
good first issue✨ enhancement🛠️ compiler

倉庫指標

Star
 (5,385 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南