Skip to content
/ fastimer Public
generated from fast/template

This crate implements runtime-agnostic driver for async timers and scheduled tasks.

License

Notifications You must be signed in to change notification settings

fast/fastimer

Repository files navigation

Fastimer

Crates.io Documentation MSRV 1.83 Apache 2.0 licensed Build Status

Overview

Fastimer implements runtime-agnostic driver for async timers and scheduled tasks.

Scheduled Actions

Fastimer provides SimpleAction and ArbitraryDelayAction that can be scheduled as a repeating and cancellable action.

Timeout

Timeout is a future combinator that completes when the inner future completes or when the timeout expires.

Time Driver

TimeDriver is a runtime-agnostic time driver for creating delay futures. To use the time driver, you need to enable the driver feature flag.

Installation

Add the dependency to your Cargo.toml via:

cargo add fastimer

Documentation

Read the online documents at https://docs.rs/fastimer.

License

This project is licensed under Apache License, Version 2.0.

About

This crate implements runtime-agnostic driver for async timers and scheduled tasks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages