
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
celluloid-supervision
Advanced tools
Supervisors; with Supervision Containers (Groups), Configurations, and Trees for Celluloid.
To supervise actors, you have many options:
MyActor.supervise as: :my_actor # Without arguments.
MyActor.supervise as: :my_actor, args: [:one_arg, :two_args]
Celluloid.supervise as: :my_actor, type: MyActor # Without arguments.
Celluloid.supervise as: :my_actor, type: MyActor, args: [:one_arg, :two_args]
container = Celluloid::Supervision::Container.new {
supervise type: MyActor, as: :my_actor
supervise type: MyActor, as: :my_actor_with_args, args: [:one_arg, :two_args]
}
container.run!
config = Celluloid::Supervision::Configuration.define([
{
type: MyActor,
as: :my_actor
},
{
type: MyActor,
as: :my_actor_with_args,
args: [
:one_arg,
:two_args
]
},
])
# Whenever you would like to deploy the actors:
config.deploy
# Whenver you would like to shut them down:
config.shutdown
# Reuse the same configuration if you like!
config.deploy
config = Celluloid::Supervision::Configuration.new
config.define type: MyActor, as: :my_actor
config.define type: MyActor, as: :my_actor_with_args, args: [:one_arg, :two_args]
config deploy
# Now add actors to the already running configuration.
config.add type: MyActor, as: :my_actor_deployed_immediately
config.shutdown
Copyright (c) 2011-2015 Tony Arcieri, Donovan Keme. Distributed under the MIT License. See LICENSE.txt for further details.
FAQs
Unknown package
We found that celluloid-supervision demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.