RubyGems Navigation menu

sync_enum 0.1.7

Iterate over multiple enumerators in parallel, using the external interface based on the #next method. Each call to #next returns an array, containing the next element for each of the enumerators. A StopIteration exception is raised as soon as any of the enumerators runs out of elements. SyncEnum differs from the standard library's REXML::SyncEnumerator in its use of the #next external iterator interface, while REXML::SyncEnumerator uses an #each internal iterator interface. The external interface is more convenient when you expect to end iteration before reaching the end of any of the enumerations, including cases where an enumerator generates an unending sequence.

Gemfile:
=

安裝:
=

版本列表:

  1. 0.1.7 October 14, 2025 (12.5 KB)
  2. 0.1.1 May 17, 2021 (12.0 KB)
  3. 0.1.0 May 17, 2021 (12.0 KB)

Development 相依性套件 (7):

bundler ~> 2.0
launchy ~> 2.5
rake ~> 13.0
rspec ~> 3.0
rubocop ~> 1.81
rubocop-rake ~> 0.7
rubocop-rspec ~> 2.31

擁有者:

推送者:

作者:

  • Bruce Tesar

SHA 256 總和檢查碼:

=

總下載次數 4,288

這個版本 104

版本发布:

授權:

MIT

Ruby 版本需求: >= 2.7.0

新版本需要 MFA: true

使用 MFA 發布的版本: true

相關連結: