Sha256: 39a1d89dc1335f2e1287cb3e13e95ce315cdc6edb413ca95e188d21da2f915fe

Contents?: true

Size: 375 Bytes

Versions: 93

Compression:

Stored size: 375 Bytes

Contents

---
layout: page
title: Polyphony::Restart
parent: API Reference
permalink: /api-reference/polyphony-restart/
---
# Polyphony::Restart

`Polyphony::Restart` is an exception class used to restart a fiber. Applications
will not normally raise a `Polyphony::Restart` exception, but would rather use
`Fiber#restart`.

```ruby
f = spin { do_something_slow }
...
f.restart
...
```

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
polyphony-0.99 docs/api-reference/polyphony-restart.md
polyphony-0.98 docs/api-reference/polyphony-restart.md
polyphony-0.97 docs/api-reference/polyphony-restart.md
polyphony-0.96 docs/api-reference/polyphony-restart.md
polyphony-0.95 docs/api-reference/polyphony-restart.md
polyphony-0.94 docs/api-reference/polyphony-restart.md
polyphony-0.93 docs/api-reference/polyphony-restart.md
polyphony-0.92 docs/api-reference/polyphony-restart.md
polyphony-0.91 docs/api-reference/polyphony-restart.md
polyphony-0.90 docs/api-reference/polyphony-restart.md
polyphony-0.89 docs/api-reference/polyphony-restart.md
polyphony-0.87 docs/api-reference/polyphony-restart.md
polyphony-0.86 docs/api-reference/polyphony-restart.md
polyphony-0.85 docs/api-reference/polyphony-restart.md
polyphony-0.84.1 docs/api-reference/polyphony-restart.md
polyphony-0.84 docs/api-reference/polyphony-restart.md
polyphony-0.83 docs/api-reference/polyphony-restart.md
polyphony-0.82 docs/api-reference/polyphony-restart.md
polyphony-0.81.1 docs/api-reference/polyphony-restart.md
polyphony-0.81 docs/api-reference/polyphony-restart.md