wait_for_it

所属分类:collect
开发工具:Elixir
文件大小:0KB
下载次数:0
上传日期:2020-04-02 11:38:38
上 传 者sh-1993
说明:  等待事情发生的药剂库,
(Elixir library for waiting for things to happen,)

文件列表:
.formatter.exs (137, 2023-11-15)
CHANGELOG.md (2213, 2023-11-15)
LICENSE (11357, 2023-11-15)
config/ (0, 2023-11-15)
config/config.exs (1130, 2023-11-15)
lib/ (0, 2023-11-15)
lib/wait_for_it.ex (26061, 2023-11-15)
lib/wait_for_it/ (0, 2023-11-15)
lib/wait_for_it/application.ex (423, 2023-11-15)
lib/wait_for_it/evaluation.ex (1640, 2023-11-15)
lib/wait_for_it/timeout_error.ex (2042, 2023-11-15)
lib/wait_for_it/v1/ (0, 2023-11-15)
lib/wait_for_it/v1/condition_variable/ (0, 2023-11-15)
lib/wait_for_it/v1/condition_variable/condition_variable.ex (1741, 2023-11-15)
lib/wait_for_it/v1/condition_variable/supervisor.ex (787, 2023-11-15)
lib/wait_for_it/v1/helpers.ex (5065, 2023-11-15)
lib/wait_for_it/v1/wait_for_it.ex (10350, 2023-11-15)
lib/wait_for_it/waitable/ (0, 2023-11-15)
lib/wait_for_it/waitable/basic_wait.ex (838, 2023-11-15)
lib/wait_for_it/waitable/case_wait.ex (1440, 2023-11-15)
lib/wait_for_it/waitable/cond_wait.ex (1203, 2023-11-15)
lib/wait_for_it/waitable/waitable.ex (1601, 2023-11-15)
lib/wait_for_it/waitable/with_wait.ex (637, 2023-11-15)
lib/wait_for_it/waiting.ex (3138, 2023-11-15)
mix.exs (1819, 2023-11-15)
mix.lock (3744, 2023-11-15)
test/ (0, 2023-11-15)
test/test_helper.exs (83, 2023-11-15)
test/wait_for_it/ (0, 2023-11-15)
test/wait_for_it/v1/ (0, 2023-11-15)
test/wait_for_it/v1/condition_variable/ (0, 2023-11-15)
test/wait_for_it/v1/condition_variable/supervisor_test.exs (916, 2023-11-15)
test/wait_for_it/v1/condition_variable_test.exs (1593, 2023-11-15)
test/wait_for_it/v1/wait_for_it_test.exs (9386, 2023-11-15)
test/wait_for_it_test.exs (9486, 2023-11-15)

# WaitForIt Various ways of waiting for things to happen. This library allows you to wait on the results of asynchronous or remote operations using intuitive and familiar syntax based on built-in Elixir language constructs. There are three distinct forms of waiting provided: 1. The `wait` macro waits until a given expression evaluates to a truthy value. 2. The `case_wait` macro waits until a given expression evaluates to a value that matches any one of the given case clauses (looks like an Elixir `case` expression). 3. The `cond_wait` macro waits until any one of the given expressions evaluates to a truthy value (looks like an Elixir `cond` expression). See the [API reference](https://hexdocs.pm/wait_for_it/WaitForIt.html) for full documentation. ## Installation `wait_for_it` can be installed by adding it to your list of dependencies in `mix.exs`: ```elixir def deps do [ {:wait_for_it, "~> 2.1"} ] end ``` Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) and published on [HexDocs](https://hexdocs.pm). Once published, the docs can be found at [https://hexdocs.pm/wait_for_it](https://hexdocs.pm/wait_for_it).

近期下载者

相关文件


收藏者