RubyGems Navigation menu

singleflight 0.1.0

Its primary purpose is to ensure that only one call to an expensive or duplicative operation is in flight at any given time. When multiple requests request the same resource, singleflight ensures that the function is executed only once, and the result is shared among all callers. This pattern is particularly useful in scenarios where caching isn't suitable or when the results are expected to change frequently.

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 October 18, 2024 (9.5 KB)

Owners:

Pushed by:

Authors:

  • yoavgeva

SHA 256 checksum:

=

Total downloads 378

For this version 378

Version Released:

License:

MIT

Required Ruby Version: >= 2.6.0

Links: