RubyGems Navigation menu

cont 0.2.1

The Cont module provides methods for working with continuations. Continuations are a way to save the execution state of a program so that it can be resumed later. They are used for advanced control flow structures such as coroutines, generators, and so on. Ruby have a built-in support for continuations, but it is deprecated and should not be used. This implementation uses the 'fiber' library based on https://github.com/minoki/delimited-continuations-in-lua . That library is released under the MIT license. Caution: The continuations of this implementation are 'one-shot', So they can only be resumed once. If you try to resume a dead continuation, an exception will be raised.

Gemfile:
=

安裝:
=

版本列表:

  1. 0.2.1 June 11, 2024 (7.0 KB)
  2. 0.2.0 June 11, 2024 (7.0 KB)
  3. 0.1.1 June 09, 2024 (6.5 KB)
  4. 0.1.0 June 09, 2024 (6.5 KB)

Development 相依性套件 (1):

minitest ~> 5.23, >= 5.23.1

擁有者:

推送者:

作者:

  • Masaya Taniguchi

SHA 256 總和檢查碼:

=

總下載次數 800

這個版本 247

版本发布:

授權:

MIT

Ruby 版本需求: >= 0

相關連結: