awaitility

Crates.ioawaitility
lib.rsawaitility
version0.3.1
sourcesrc
created_at2020-07-19 04:43:41.929103
updated_at2023-08-14 14:42:22.101937
descriptionAwaitility for Rust
homepagehttps://github.com/cuzfrog/awaitility
repositoryhttps://github.com/cuzfrog/awaitility
max_upload_size
id266751
size26,553
Cause Chung (cuzfrog)

documentation

README

Crates.io Apache-2.0 licensed Build status

Awaitility for Rust

Fast, Simple, Straightforward Test utility for async functionalities.

Getting Started

[dev-dependencies]
awaitility = "0.3"

Awaitility itself has 0 dependencies.

Basic Usage

awaitility::at_most(Duration::from_millis(100)).until(|| {test something is true});
awaitility::at_least(Duration::from_millis(100)).always(|| {test something is true);
// ...

See RustDoc for more examples.

Licence

Apache License 2.0

Author

Cause Chung (cuzfrog@gmail.com, cuzfrog@139.com)

Commit count: 12

cargo fmt