async-rs / async-rs/futures-timer

feature request: consider add Ticker

Open
#60 5 comments 5 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
219
Forks
42
PR merge metrics
No merged PRs in 30d

Description

consider adding a new struct `Ticker`, which implement `futures::Stream`, can return an instant periodically by use `.next().await`

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by reading the repository's existing timer API and the futures::Stream contract, then determine how a Ticker should expose periodic instants through .next().await. Done means the proposed Ticker behavior is implemented and its periodic stream behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.