Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - jvoegele/wait_for_it: Elixir library for waiting for things to happen

Elixir library for waiting for things to happen. Contribute to jvoegele/wait_for_it development by creating an account on GitHub.

Visit SiteGitHub - jvoegele/wait_for_it: Elixir library for waiting for things to happen

GitHub - jvoegele/wait_for_it: Elixir library for waiting for things to happen

Elixir library for waiting for things to happen. Contribute to jvoegele/wait_for_it development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

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 for full documentation.

Installation

wait_for_it can be installed by adding it to your list of dependencies in mix.exs:

def deps do
  [
    {:wait_for_it, "~> 2.1"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/wait_for_it.

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.