Registry / async / polyphony

polyphony

JSON →
library1.2.1rbrubygemsunverified

Fine grained concurrency for Ruby.

gem install polyphony
INSTALL
IMPORT
SIG · POLYPHONY
P
polyphony
asyncrubyv1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Polyphony
require 'polyphony'

Runs a concurrent fiber that prints a message after 1 second.

require 'polyphony' spin do sleep 1 puts 'Hello from fiber' end suspend
Debug
Known issues
breakingPolyphony requires Ruby >= 2.7 and is not compatible with JRuby or TruffleRuby.
fix
Use a supported Ruby implementation (MRI) and version.
affects: >= 0.0.0
Upgrade
Version history
1.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
Resources
polyphony — gem install polyphony · libregistry