Registry / async / sucker-punch

sucker-punch

JSON →
library3.3.0rbrubygemsunverified

Sucker Punch is an asynchronous processing library for Ruby that uses concurrent-ruby to run jobs in-process with a thread pool.

gem install sucker_punch
INSTALL
IMPORT
SIG · SUCKER-PUNCH
S
sucker-punch
asyncrubyv3.3.0
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.

SuckerPunch
require 'sucker_punch'

Define and enqueue an asynchronous job

require 'sucker_punch' class EmailJob include SuckerPunch::Job def perform(user_id) # send email end end EmailJob.perform_async(42)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
32
Resources
sucker-punch — gem install sucker-punch · libregistry