Sha256: 37b11b26734901d62e8aac6fa1611658ebd4d1e1a385cbd50a0a41fc7e619282
Contents?: true
Size: 462 Bytes
Versions: 93
Compression:
Stored size: 462 Bytes
Contents
--- layout: page title: Polyphony::Terminate parent: API Reference permalink: /api-reference/polyphony-terminate/ --- # Polyphony::Terminate `Polyphony::Terminate` is an exception class used to terminate a fiber without propagating the exception. It should never be rescued. A `Polyphony::Terminate` exception is normally raised using APIs such as `Fiber#terminate` or `Fiber#terminate_all_children`. ```ruby f = spin { do_something_slow } ... f.terminate ```
Version data entries
93 entries across 93 versions & 1 rubygems